mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
cryptor: add desktop item
This commit is contained in:
parent
313a88f600
commit
ccaa736c45
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user