imv: use replace-fail

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-11-10 14:44:17 +01:00
parent 0f8a593cd2
commit af971aa847
+2 -2
View File
@@ -109,8 +109,8 @@ stdenv.mkDerivation rec {
# so we have to fix those to the binaries we installed into the /nix/store
substituteInPlace "$out/bin/imv" \
--replace "imv-wayland" "$out/bin/imv-wayland" \
--replace "imv-x11" "$out/bin/imv-x11"
--replace-fail "imv-wayland" "$out/bin/imv-wayland" \
--replace-fail "imv-x11" "$out/bin/imv-x11"
'';
doCheck = true;