diff options
author | nicoo <nicoo@mur.at> | 2024-05-12 14:10:54 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2024-05-12 14:12:41 +0000 |
commit | 43efaaaae80c77e81145067c0b2b57109dd0b33d (patch) | |
tree | 1837ef77424fae5021876394b26e0603b7bb88e1 | |
parent | 4af3b807fccfddfceb4aad422018a5f9e8cdb8a0 (diff) |
testers.hasPkgConfigModules: don't display ❌ on ignored version mismatches
-rw-r--r-- | pkgs/build-support/testers/hasPkgConfigModules/tester.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/testers/hasPkgConfigModules/tester.nix b/pkgs/build-support/testers/hasPkgConfigModules/tester.nix index 6a09255bde6c3..7b22ffbf6f19e 100644 --- a/pkgs/build-support/testers/hasPkgConfigModules/tester.nix +++ b/pkgs/build-support/testers/hasPkgConfigModules/tester.nix @@ -45,7 +45,7 @@ runCommand testName { if [[ "$moduleVersion" == "$version" ]]; then echo "✅ pkg-config module $moduleName exists and has version $moduleVersion" else - echo "❌ pkg-config module $moduleName exists and has version $moduleVersion when $version was expected" + echo "${if versionCheck then "❌" else "⚠"} pkg-config module $moduleName exists and has version $moduleVersion when $version was expected" ((versionMismatch+=1)) fi printf '%s\t%s\n' "$moduleName" "$version" >> "$out" |