Unverified Commit edada485 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #254815 from johannwagner/fix-leading-hyphens-for-testVersion

parents 6db923bc da073295
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
      version ? package.version,
    }: runCommand "${package.name}-test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } ''
      if output=$(${command} 2>&1); then
        if grep -Fw "${version}" - <<< "$output"; then
        if grep -Fw -- "${version}" - <<< "$output"; then
          touch $out
        else
          echo "Version string '${version}' not found!" >&2