diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-07 16:17:39 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-02-19 20:09:16 +0700 |
commit | e03c068af5c9ca950214cd6c3b5cfe67f595da88 (patch) | |
tree | 3a2072763efa4dae7237eeecf46fc6a95ddcd215 /pkgs/tools/security/ecryptfs | |
parent | 06c2bba257d77f2aeada7f943244d9afd5998645 (diff) |
treewide: makeWrapper buildInputs to nativeBuildInputs
Diffstat (limited to 'pkgs/tools/security/ecryptfs')
-rw-r--r-- | pkgs/tools/security/ecryptfs/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/security/ecryptfs/helper.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/security/ecryptfs/default.nix b/pkgs/tools/security/ecryptfs/default.nix index 569b83feb9aeb..cd90342738ed8 100644 --- a/pkgs/tools/security/ecryptfs/default.nix +++ b/pkgs/tools/security/ecryptfs/default.nix @@ -35,11 +35,11 @@ stdenv.mkDerivation rec { configureFlags = lib.optionals (!enablePython) [ "--disable-pywrap" ]; - nativeBuildInputs = [ pkg-config ] + nativeBuildInputs = [ pkg-config makeWrapper ] # if python2 support is requested, it is needed at builtime as well as runtime. ++ lib.optionals (enablePython) [ python2 ] ; - buildInputs = [ perl nss nspr pam intltool makeWrapper ] + buildInputs = [ perl nss nspr pam intltool ] ++ lib.optionals (enablePython) [ python2 ] ; propagatedBuildInputs = [ coreutils gettext cryptsetup lvm2 rsync keyutils which ]; diff --git a/pkgs/tools/security/ecryptfs/helper.nix b/pkgs/tools/security/ecryptfs/helper.nix index ecd12a2738d82..bd558b7ab66db 100644 --- a/pkgs/tools/security/ecryptfs/helper.nix +++ b/pkgs/tools/security/ecryptfs/helper.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation { phases = [ "installPhase" ]; - buildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeWrapper ]; # Do not hardcode PATH to ${ecryptfs} as we need the script to invoke executables from /run/wrappers/bin installPhase = '' |