uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/desktops/plasma-5/plasma-vault/default.nix
Normal file
40
pkgs/desktops/plasma-5/plasma-vault/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
mkDerivation, lib,
|
||||
extra-cmake-modules,
|
||||
|
||||
kactivities,
|
||||
plasma-framework,
|
||||
kwindowsystem,
|
||||
networkmanager-qt,
|
||||
libksysguard,
|
||||
|
||||
encfs,
|
||||
cryfs,
|
||||
fuse
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
pname = "plasma-vault";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
|
||||
patches = [
|
||||
./0001-encfs-path.patch
|
||||
./0002-cryfs-path.patch
|
||||
./0003-fusermount-path.patch
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kactivities plasma-framework kwindowsystem libksysguard
|
||||
networkmanager-qt
|
||||
];
|
||||
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_ENCFS=\"${lib.getBin encfs}/bin/encfs\"''
|
||||
''-DNIXPKGS_ENCFSCTL=\"${lib.getBin encfs}/bin/encfsctl\"''
|
||||
|
||||
''-DNIXPKGS_CRYFS=\"${lib.getBin cryfs}/bin/cryfs\"''
|
||||
|
||||
''-DNIXPKGS_FUSERMOUNT=\"${lib.getBin fuse}/bin/fusermount\"''
|
||||
];
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue