diff --git a/pkgs/by-name/cr/cryptor/package.nix b/pkgs/by-name/cr/cryptor/package.nix index edbaa0903b0a..b48662b2992f 100644 --- a/pkgs/by-name/cr/cryptor/package.nix +++ b/pkgs/by-name/cr/cryptor/package.nix @@ -42,6 +42,10 @@ stdenv.mkDerivation (finalAttrs: { postInstall = '' wrapProgram $out/bin/cryptor \ --prefix PATH : "${lib.makeBinPath [ gocryptfs ]}" + + install -Dm444 $src/resources/misc/cryptor.desktop -t $out/share/applications + substituteInPlace $out/share/applications/cryptor.desktop \ + --replace-warn '/usr/bin/cryptor' 'cryptor' ''; meta = {