treewide: makeWrapper buildInputs to nativeBuildInputs

This commit is contained in:
Ben Siraphob
2021-02-19 20:09:16 +07:00
parent 06c2bba257
commit e03c068af5
332 changed files with 532 additions and 391 deletions
+2 -2
View File
@@ -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 ];
+1 -1
View File
@@ -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 = ''