imv: use replace-fail

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-10-14 20:38:00 +02:00
parent 0f8a593cd2
commit af971aa847
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

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;