diff options
author | Emily Trau <emily@downunderctf.com> | 2024-03-04 18:02:27 +1100 |
---|---|---|
committer | Emily Trau <emily@downunderctf.com> | 2024-03-04 18:02:27 +1100 |
commit | 7aa9c29cb6ca7d78ff491879743a7357f72ef548 (patch) | |
tree | 23a772f4984613c7570ce58640eeca3ae6a7a164 /pkgs/applications/networking/mailreaders | |
parent | ce130e272f320599992e3c70b24b7b3b693c590d (diff) |
mailspring: use replace-fail with substituteInPlace
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r-- | pkgs/applications/networking/mailreaders/mailspring/linux.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/mailspring/linux.nix b/pkgs/applications/networking/mailreaders/mailspring/linux.nix index d7d974ba66ed2..dff8796f6ce2c 100644 --- a/pkgs/applications/networking/mailreaders/mailspring/linux.nix +++ b/pkgs/applications/networking/mailreaders/mailspring/linux.nix @@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: { cp -ar ./usr/share $out substituteInPlace $out/share/mailspring/resources/app.asar.unpacked/mailsync \ - --replace dirname ${coreutils}/bin/dirname + --replace-fail dirname ${coreutils}/bin/dirname ln -s $out/share/mailspring/mailspring $out/bin/mailspring ln -s ${lib.getLib openssl}/lib/libcrypto.so $out/lib/libcrypto.so.1.0.0 @@ -87,6 +87,6 @@ stdenv.mkDerivation (finalAttrs: { postFixup = /* sh */ '' substituteInPlace $out/share/applications/Mailspring.desktop \ - --replace Exec=mailspring Exec=$out/bin/mailspring + --replace-fail Exec=mailspring Exec=$out/bin/mailspring ''; }) |