lol

testers.testVersion: Fix usage of hyphens within the version argument

+1 -1
+1 -1
pkgs/build-support/testers/default.nix
··· 61 61 version ? package.version, 62 62 }: runCommand "${package.name}-test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } '' 63 63 if output=$(${command} 2>&1); then 64 - if grep -Fw "${version}" - <<< "$output"; then 64 + if grep -Fw -- "${version}" - <<< "$output"; then 65 65 touch $out 66 66 else 67 67 echo "Version string '${version}' not found!" >&2