mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
keepassrpc: use dontUnpack instead of placeholder unpackCmd/sourceRoot
This commit is contained in:
parent
a8617e2b0d
commit
54fbb39598
@ -18,17 +18,10 @@ let
|
||||
maintainers = with maintainers; [ mjanczyk svsdep mgregoire ];
|
||||
};
|
||||
|
||||
pluginFilename = "KeePassRPC.plgx";
|
||||
|
||||
unpackCmd = ''
|
||||
mkdir deps/
|
||||
cp -p $src deps/$pluginFilename
|
||||
'';
|
||||
sourceRoot = "deps";
|
||||
|
||||
dontUnpack = true;
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/dotnet/keepass/
|
||||
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename
|
||||
cp $src $out/lib/dotnet/keepass/
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user