diff options
author | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-01-29 04:11:01 -0600 |
---|---|---|
committer | Parnell Springmeyer <parnell@digitalmentat.com> | 2017-01-29 04:11:01 -0600 |
commit | 4aa0923009dac4d2307b5fe018b944180bfad6a2 (patch) | |
tree | f3a9ae5ddb0d772936dd1d53534fbe677e67a838 /pkgs/tools/security/ecryptfs | |
parent | a8cb2afa981099889cf47185be33f4a831ff482b (diff) |
Getting rid of the var indirection and using a bin path instead
Diffstat (limited to 'pkgs/tools/security/ecryptfs')
-rw-r--r-- | pkgs/tools/security/ecryptfs/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/security/ecryptfs/helper.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/ecryptfs/default.nix b/pkgs/tools/security/ecryptfs/default.nix index 98e06d1de3e9a..ab4867a4cc818 100644 --- a/pkgs/tools/security/ecryptfs/default.nix +++ b/pkgs/tools/security/ecryptfs/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { }; # TODO: replace wrapperDir below with from <nixos> config.security.wrapperDir; - wrapperDir = "/run/wrappers"; + wrapperDir = "/run/wrappers/bin"; postPatch = '' FILES="$(grep -r '/bin/sh' src/utils -l; find src -name \*.c)" diff --git a/pkgs/tools/security/ecryptfs/helper.nix b/pkgs/tools/security/ecryptfs/helper.nix index 3daaadcaad6a9..05327ad3a0903 100644 --- a/pkgs/tools/security/ecryptfs/helper.nix +++ b/pkgs/tools/security/ecryptfs/helper.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { buildInputs = [ makeWrapper ]; - # Do not hardcode PATH to ${ecryptfs} as we need the script to invoke executables from /run/wrappers + # Do not hardcode PATH to ${ecryptfs} as we need the script to invoke executables from /run/wrappers/bin installPhase = '' mkdir -p $out/bin $out/libexec cp $src $out/libexec/ecryptfs-helper.py |