Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 653 B view raw
1{ 2 lib, 3 mkKdeDerivation, 4 pkg-config, 5 gocryptfs, 6 fuse, 7 cryfs, 8 encfs, 9}: 10mkKdeDerivation { 11 pname = "plasma-vault"; 12 13 patches = [ 14 ./0001-encfs-path.patch 15 ./0002-cryfs-path.patch 16 ./0003-fusermount-path.patch 17 ./0004-gocryptfs-path.patch 18 ]; 19 20 CXXFLAGS = [ 21 ''-DNIXPKGS_ENCFS=\"${lib.getBin encfs}/bin/encfs\"'' 22 ''-DNIXPKGS_ENCFSCTL=\"${lib.getBin encfs}/bin/encfsctl\"'' 23 ''-DNIXPKGS_CRYFS=\"${lib.getBin cryfs}/bin/cryfs\"'' 24 ''-DNIXPKGS_FUSERMOUNT=\"${lib.getBin fuse}/bin/fusermount\"'' 25 ''-DNIXPKGS_GOCRYPTFS=\"${lib.getBin gocryptfs}/bin/gocryptfs\"'' 26 ]; 27 28 extraNativeBuildInputs = [ pkg-config ]; 29}