treewide: makeWrapper buildInputs to nativeBuildInputs

most found with https://github.com/siraben/nix-lint

Artturin c6568adb 2f27d033

+103 -110
+2 -1
pkgs/applications/editors/eclipse/build-eclipse.nix
··· 17 17 categories = [ "Development" ]; 18 18 }; 19 19 20 + nativeBuildInputs = [ makeWrapper ]; 20 21 buildInputs = [ 21 22 fontconfig freetype glib gsettings-desktop-schemas gtk jdk libX11 22 - libXrender libXtst libsecret makeWrapper zlib 23 + libXrender libXtst libsecret zlib 23 24 ] ++ lib.optional (webkitgtk != null) webkitgtk; 24 25 25 26 buildCommand = ''
+1 -1
pkgs/applications/editors/jupyter-kernels/octave/default.nix
··· 22 22 launcher = runCommand "octave-kernel-launcher" { 23 23 inherit octave; 24 24 python = python3.withPackages (ps: [ ps.traitlets ps.jupyter_core ps.ipykernel ps.metakernel kernel ]); 25 - buildInputs = [ makeWrapper ]; 25 + nativeBuildInputs = [ makeWrapper ]; 26 26 } '' 27 27 mkdir -p $out/bin 28 28
+1 -1
pkgs/applications/editors/vim/plugins/vim-utils.nix
··· 338 338 if vimrcFile != null then vimrcFile 339 339 else if vimrcConfig != null then mkVimrcFile vimrcConfig 340 340 else throw "at least one of vimrcConfig and vimrcFile must be specified"; 341 - bin = runCommand "${name}-bin" { buildInputs = [ makeWrapper ]; } '' 341 + bin = runCommand "${name}-bin" { nativeBuildInputs = [ makeWrapper ]; } '' 342 342 vimrc=${lib.escapeShellArg vimrc} 343 343 gvimrc=${if gvimrcFile != null then lib.escapeShellArg gvimrcFile else ""} 344 344
+2 -2
pkgs/applications/gis/grass/default.nix
··· 15 15 sha256 = "sha256-VK9FCqIwHGmeJe5lk12lpAGcsC1aPRBiI+XjACXjDd4="; 16 16 }; 17 17 18 - nativeBuildInputs = [ pkg-config ]; 18 + nativeBuildInputs = [ pkg-config makeWrapper ]; 19 19 buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite 20 - readline ffmpeg makeWrapper netcdf geos postgresql libmysqlclient blas 20 + readline ffmpeg netcdf geos postgresql libmysqlclient blas 21 21 libLAS proj-datumgrid zstd wrapGAppsHook ] 22 22 ++ lib.optionals stdenv.isLinux [ cairo pdal wxGTK31 ] 23 23 ++ lib.optional stdenv.isDarwin wxmac
+2 -1
pkgs/applications/graphics/timelapse-deflicker/default.nix
··· 16 16 wrapProgram $out/bin/timelapse-deflicker --set PERL5LIB $PERL5LIB 17 17 ''; 18 18 19 + nativeBuildInputs = [ makeWrapper ]; 19 20 buildInputs = with perlPackages; [ 20 - makeWrapper perl 21 + perl 21 22 ImageMagick TermProgressBar ImageExifTool 22 23 FileType ClassMethodMaker 23 24 ];
+2 -2
pkgs/applications/misc/eaglemode/default.nix
··· 10 10 sha256 = "10zxih7gmyhq0az1mnsw2x563l4bbwcns794s4png8rf4d6hjszm"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkg-config ]; 13 + nativeBuildInputs = [ pkg-config makeWrapper ]; 14 14 buildInputs = [ perl libX11 libXinerama libjpeg libpng libtiff 15 - librsvg glib gtk2 libXxf86vm libXext poppler xine-lib ghostscript makeWrapper ]; 15 + librsvg glib gtk2 libXxf86vm libXext poppler xine-lib ghostscript ]; 16 16 17 17 # The program tries to dlopen Xxf86vm, Xext and Xinerama, so we use the 18 18 # trick on NIX_LDFLAGS and dontPatchELF to make it find them.
+2 -1
pkgs/applications/misc/ikiwiki/default.nix
··· 18 18 sha256 = "0skrc8r4wh4mjfgw1c94awr5sacfb9nfsbm4frikanc9xsy16ksr"; 19 19 }; 20 20 21 + nativeBuildInputs = [ makeWrapper ]; 21 22 buildInputs = [ which highlight ] 22 23 ++ (with perlPackages; [ perl TextMarkdown URI HTMLParser HTMLScrubber HTMLTemplate 23 - TimeDate gettext makeWrapper DBFile CGISession CGIFormBuilder LocaleGettext 24 + TimeDate gettext DBFile CGISession CGIFormBuilder LocaleGettext 24 25 RpcXML XMLSimple ImageMagick YAML YAMLLibYAML HTMLTree AuthenPassphrase 25 26 NetOpenIDConsumer LWPxParanoidAgent CryptSSLeay ]) 26 27 ++ lib.optionals docutilsSupport [
+2 -2
pkgs/applications/misc/lyx/default.nix
··· 12 12 }; 13 13 14 14 # LaTeX is used from $PATH, as people often want to have it with extra pkgs 15 - nativeBuildInputs = [ pkg-config ]; 15 + nativeBuildInputs = [ pkg-config makeWrapper ]; 16 16 buildInputs = [ 17 17 qtbase qtsvg python3 file/*for libmagic*/ bc 18 - hunspell makeWrapper # enchant 18 + hunspell # enchant 19 19 ]; 20 20 21 21 configureFlags = [
+2 -3
pkgs/applications/misc/notify-osd-customizable/default.nix
··· 24 24 25 25 preConfigure = "./autogen.sh --libexecdir=$(out)/bin"; 26 26 27 - nativeBuildInputs = [ pkg-config ]; 27 + nativeBuildInputs = [ pkg-config makeWrapper libtool ]; 28 28 buildInputs = [ 29 - glib libwnck libnotify dbus-glib makeWrapper 29 + glib libwnck libnotify dbus-glib 30 30 gsettings-desktop-schemas gnome.gnome-common 31 - libtool 32 31 ]; 33 32 34 33 configureFlags = [ "--libexecdir=$(out)/bin" ];
+2 -2
pkgs/applications/misc/notify-osd/default.nix
··· 9 9 sha256 = "0g5a7a680b05x27apz0y1ldl5csxpp152wqi42s107jymbp0s20j"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkg-config ]; 12 + nativeBuildInputs = [ pkg-config makeWrapper ]; 13 13 buildInputs = [ 14 - glib libwnck libnotify dbus-glib makeWrapper 14 + glib libwnck libnotify dbus-glib 15 15 gsettings-desktop-schemas 16 16 ]; 17 17
+1 -1
pkgs/applications/misc/rofi-emoji/default.nix
··· 46 46 nativeBuildInputs = [ 47 47 autoreconfHook 48 48 pkg-config 49 + makeWrapper 49 50 ]; 50 51 51 52 buildInputs = [ 52 53 cairo 53 54 glib 54 55 libnotify 55 - makeWrapper 56 56 rofi-unwrapped 57 57 wl-clipboard 58 58 xclip
+2 -1
pkgs/applications/misc/slic3r/default.nix
··· 13 13 sha256 = "sha256-cf0QTOzhLyTcbJryCQoTVzU8kfrPV6SLpqi4s36X5N0="; 14 14 }; 15 15 16 + nativeBuildInputs = [ makeWrapper which ]; 16 17 buildInputs = 17 18 [boost] ++ 18 - (with perlPackages; [ perl makeWrapper which 19 + (with perlPackages; [ perl 19 20 EncodeLocale MathClipper ExtUtilsXSpp 20 21 MathConvexHullMonotoneChain MathGeometryVoronoi MathPlanePath Moo 21 22 IOStringy ClassXSAccessor Wx GrowlGNTP NetDBus ImportInto XMLSAX
+1 -1
pkgs/applications/misc/tabula-java/default.nix
··· 9 9 sha256 = "sha256-IWHj//ZZOdfOCBJHnPnKNoYNtWl/f8H6ARYe1AkqB0U="; 10 10 }; 11 11 12 - buildInputs = [ makeWrapper ]; 12 + nativeBuildInputs = [ makeWrapper ]; 13 13 14 14 dontUnpack = true; 15 15 dontBuild = true;
+2 -1
pkgs/applications/networking/browsers/offpunk/default.nix
··· 41 41 sha256 = "1zg13wajsfrl3hli6sihn47db08w037jjq9vgr6m5sjh8r1jb9iy"; 42 42 }; 43 43 44 - buildInputs = [ makeWrapper ] ++ otherDependencies ++ pythonDependencies; 44 + nativeBuildInputs = [ makeWrapper ]; 45 + buildInputs = otherDependencies ++ pythonDependencies; 45 46 46 47 installPhase = '' 47 48 runHook preInstall
+1 -1
pkgs/applications/networking/instant-messengers/oysttyer/default.nix
··· 12 12 sha256 = "0cm1hvi68iqgjsg15xdii271pklgzjn9j9afb1c460z71kgy3wz2"; 13 13 }; 14 14 15 + nativeBuildInputs = [ makeWrapper ]; 15 16 buildInputs = [ 16 17 perl 17 - makeWrapper 18 18 ]; 19 19 20 20 propagatedBuildInputs = with perlPackages; [
+1 -1
pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix
··· 7 7 8 8 paths = [ pidgin ] ++ plugins; 9 9 10 - buildInputs = [ makeWrapper ]; 10 + nativeBuildInputs = [ makeWrapper ]; 11 11 12 12 postBuild = '' 13 13 wrapProgram $out/bin/pidgin \
+1 -1
pkgs/applications/networking/instant-messengers/teams/default.nix
··· 137 137 hash = "sha256-vLUEvOSBUyAJIWHOAIkTqTW/W6TkgmeyRzQbquZP810="; 138 138 }; 139 139 140 - buildInputs = [ xar cpio makeWrapper ]; 140 + nativeBuildInputs = [ xar cpio makeWrapper ]; 141 141 142 142 unpackPhase = '' 143 143 xar -xf $src
+1 -1
pkgs/applications/networking/mailreaders/notmuch/mutt.nix
··· 8 8 9 9 dontStrip = true; 10 10 11 + nativeBuildInputs = [ makeWrapper ]; 11 12 buildInputs = [ 12 13 perl 13 - makeWrapper 14 14 ] ++ (with perlPackages; [ 15 15 FileRemove 16 16 DigestSHA1
+1 -4
pkgs/applications/science/electronics/bitscope/common.nix
··· 32 32 ]; 33 33 } // (attrs.meta or {}); 34 34 35 - buildInputs = [ 36 - dpkg 37 - makeWrapper 38 - ]; 35 + nativeBuildInputs = [ makeWrapper dpkg ]; 39 36 40 37 libs = attrs.libs or [ 41 38 atk
+2 -2
pkgs/applications/science/math/pspp/default.nix
··· 13 13 sha256 = "0lqrash677b09zxdlxp89z6k02y4i23mbqg83956dwl69wc53dan"; 14 14 }; 15 15 16 - nativeBuildInputs = [ pkg-config texinfo python3 ]; 16 + nativeBuildInputs = [ pkg-config texinfo python3 makeWrapper ]; 17 17 buildInputs = [ libxml2 readline zlib perl cairo gtk3 gsl 18 18 gtksourceview pango gettext 19 - makeWrapper gsettings-desktop-schemas hicolor-icon-theme ssw 19 + gsettings-desktop-schemas hicolor-icon-theme ssw 20 20 ]; 21 21 22 22 doCheck = false;
+1 -1
pkgs/applications/science/math/sage/sage-tests.nix
··· 28 28 pname = "sage-tests"; 29 29 inherit src; 30 30 31 + nativeBuildInputs = [ makeWrapper ]; 31 32 buildInputs = [ 32 - makeWrapper 33 33 sage-with-env 34 34 ]; 35 35
+1 -2
pkgs/applications/science/math/sage/sage-with-env.nix
··· 30 30 let 31 31 buildInputs = [ 32 32 pythonEnv # for patchShebangs 33 - makeWrapper 34 33 pkg-config 35 34 blas lapack 36 35 singular ··· 73 72 [] 74 73 ); 75 74 76 - allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs); 75 + allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs ++ [ makeWrapper ]); 77 76 transitiveDeps = lib.unique (builtins.concatLists (map transitiveClosure allInputs )); 78 77 # fix differences between spkg and sage names 79 78 # (could patch sage instead, but this is more lightweight and also works for packages depending on sage)
+2 -3
pkgs/applications/science/math/sage/sage.nix
··· 17 17 pname = "sage"; 18 18 src = sage-with-env.env.lib.src; 19 19 20 - buildInputs = [ 21 - makeWrapper 22 - ] ++ lib.optionals requireSageTests [ 20 + nativeBuildInputs = [ makeWrapper ]; 21 + buildInputs = lib.optionals requireSageTests [ 23 22 # This is a hack to make sure sage-tests is evaluated. It doesn't acutally 24 23 # produce anything of value, it just decouples the tests from the build. 25 24 sage-tests
+1 -1
pkgs/applications/science/misc/openmodelica/combined/default.nix
··· 11 11 omshell 12 12 ]; 13 13 14 - buildInputs = [ gnumake makeWrapper ]; 14 + nativeBuildInputs = [ makeWrapper ]; 15 15 16 16 postBuild = '' 17 17 wrapProgram $out/bin/OMEdit \
+2 -1
pkgs/applications/version-management/gitlab/default.nix
··· 129 129 130 130 inherit src; 131 131 132 + nativeBuildInputs = [ makeWrapper ]; 132 133 buildInputs = [ 133 - rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git nettools makeWrapper 134 + rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git nettools 134 135 ]; 135 136 136 137 patches = [
+2 -2
pkgs/applications/video/avidemux/default.nix
··· 38 38 ]; 39 39 40 40 nativeBuildInputs = 41 - [ yasm cmake pkg-config ] 41 + [ yasm cmake pkg-config makeWrapper ] 42 42 ++ lib.optional withQT wrapQtAppsHook; 43 43 buildInputs = [ 44 44 zlib gettext libvdpau libva libXv sqlite fribidi fontconfig 45 - freetype alsa-lib libXext libGLU makeWrapper 45 + freetype alsa-lib libXext libGLU 46 46 ] ++ lib.optional withX264 x264 47 47 ++ lib.optional withX265 x265 48 48 ++ lib.optional withXvid xvidcore
+1 -5
pkgs/development/compilers/ecl/16.1.2.nix
··· 25 25 sha256 = "sha256-LUgrGgpPvV2IFDRRcDInnYCMtkBeIt2R721zNTRGS5k="; 26 26 }; 27 27 28 - nativeBuildInputs = [ autoconf automake ]; 29 - buildInputs = [ 30 - libtool 31 - makeWrapper 32 - ]; 28 + nativeBuildInputs = [ autoconf automake makeWrapper libtool ]; 33 29 propagatedBuildInputs = [ 34 30 libffi 35 31 gmp
+3 -3
pkgs/development/compilers/elm/default.nix
··· 1 - { pkgs, lib }: 1 + { pkgs, lib, makeWrapper }: 2 2 3 3 let 4 4 ··· 18 18 elmVersion = drv.version; 19 19 registryDat = ./registry.dat; 20 20 }; 21 - buildTools = drv.buildTools or [] ++ [ pkgs.makeWrapper ]; 21 + buildTools = drv.buildTools or [] ++ [ makeWrapper ]; 22 22 jailbreak = true; 23 23 postInstall = '' 24 24 wrapProgram $out/bin/elm \ ··· 214 214 215 215 elm-pages = nodePkgs."elm-pages".overrideAttrs ( 216 216 old: { 217 - buildInputs = old.buildInputs ++ [ pkgs.makeWrapper ]; 217 + nativeBuildInputs = [ makeWrapper ]; 218 218 219 219 # can't use `patches = [ <patch_file> ]` with a nodePkgs derivation; 220 220 # need to patch in one of the build phases instead.
+1 -2
pkgs/development/compilers/intercal/default.nix
··· 24 24 }) 25 25 ]; 26 26 27 - buildInputs = 28 - [ pkg-config bison flex makeWrapper ]; 27 + nativeBuildInputs = [ pkg-config bison flex makeWrapper ]; 29 28 30 29 # Intercal invokes gcc, so we need an explicit PATH 31 30 postInstall = ''
+2 -2
pkgs/development/compilers/opa/default.nix
··· 44 44 45 45 configureFlags = [ "-ocamlfind ${ocamlPackages.findlib}/bin/ocamlfind" ]; 46 46 47 - buildInputs = [ which perl jdk openssl coreutils zlib ncurses 48 - makeWrapper gcc binutils gnumake nodejs 47 + nativeBuildInputs = [ gcc binutils nodejs which makeWrapper ]; 48 + buildInputs = [ perl jdk openssl coreutils zlib ncurses 49 49 ] ++ (with ocamlPackages; [ 50 50 ocaml findlib ssl camlzip ulex ocamlgraph camlp4 51 51 ]);
+1 -1
pkgs/development/compilers/open-watcom/wrapper.nix
··· 36 36 37 37 paths = [ open-watcom ]; 38 38 39 - buildInputs = [ makeWrapper ]; 39 + nativeBuildInputs = [ makeWrapper ]; 40 40 41 41 postBuild = '' 42 42 mkdir $out/bin
+2 -1
pkgs/development/compilers/opendylan/default.nix
··· 13 13 fetchSubmodules = true; 14 14 }; 15 15 16 + nativeBuildInputs = [ makeWrapper autoconf automake ]; 16 17 buildInputs = (if stdenv.hostPlatform.system == "i686-linux" then [ mps ] else [ boehmgc ]) ++ [ 17 - opendylan-bootstrap boehmgc gnused autoconf automake perl makeWrapper 18 + opendylan-bootstrap boehmgc perl 18 19 ]; 19 20 20 21 preConfigure = if stdenv.hostPlatform.system == "i686-linux" then ''
+1 -1
pkgs/development/compilers/yosys/default.nix
··· 56 56 in lib.appendToName "with-plugins" ( symlinkJoin { 57 57 inherit (yosys) name; 58 58 paths = paths ++ [ yosys ] ; 59 - buildInputs = [ makeWrapper ]; 59 + nativeBuildInputs = [ makeWrapper ]; 60 60 postBuild = '' 61 61 wrapProgram $out/bin/yosys \ 62 62 --set NIX_YOSYS_PLUGIN_DIRS $out/share/yosys/plugins \
+1 -1
pkgs/development/idris-modules/idris-wrapper.nix
··· 3 3 symlinkJoin { 4 4 inherit (idris-no-deps) name src meta; 5 5 paths = [ idris-no-deps ]; 6 - buildInputs = [ makeWrapper ]; 6 + nativeBuildInputs = [ makeWrapper ]; 7 7 postBuild = '' 8 8 wrapProgram $out/bin/idris \ 9 9 --run 'export IDRIS_CC=''${IDRIS_CC:-${stdenv.cc}/bin/cc}' \
+1 -1
pkgs/development/idris-modules/with-packages.nix
··· 10 10 11 11 paths = paths ++ [idris] ; 12 12 13 - buildInputs = [ makeWrapper ]; 13 + nativeBuildInputs = [ makeWrapper ]; 14 14 15 15 postBuild = '' 16 16 wrapProgram $out/bin/idris \
+1 -1
pkgs/development/interpreters/lfe/generic-builder.nix
··· 37 37 38 38 inherit src version; 39 39 40 - buildInputs = [ erlang makeWrapper ]; 40 + nativeBuildInputs = [ makeWrapper erlang ]; 41 41 beamDeps = [ proper ]; 42 42 patches = [ ./fix-rebar-config.patch ./dedup-ebins.patch ] ++ patches; 43 43 doCheck = true;
+2 -2
pkgs/development/interpreters/maude/default.nix
··· 22 22 sha256 = "b112d7843f65217e3b5a9d40461698ef8dab7cbbe830af21216dfb924dc88a2f"; 23 23 }; 24 24 25 - nativeBuildInputs = [ unzip ]; 25 + nativeBuildInputs = [ flex bison unzip makeWrapper ]; 26 26 buildInputs = [ 27 - flex bison ncurses buddy tecla gmpxx libsigsegv makeWrapper cln yices 27 + ncurses buddy tecla gmpxx libsigsegv cln yices 28 28 ]; 29 29 30 30 hardeningDisable = [ "stackprotector" ] ++
+1 -1
pkgs/development/libraries/aspell/aspell-with-dicts.nix
··· 19 19 20 20 in buildEnv { 21 21 name = "aspell-env"; 22 - buildInputs = [ makeWrapper ]; 22 + nativeBuildInputs = [ makeWrapper ]; 23 23 paths = [ aspell ] ++ dicts; 24 24 postBuild = '' 25 25 # Construct wrappers in /bin
+1 -1
pkgs/development/libraries/gsignond/wrapper.nix
··· 5 5 6 6 paths = [ gsignond ] ++ plugins; 7 7 8 - buildInputs = [ makeWrapper ]; 8 + nativeBuildInputs = [ makeWrapper ]; 9 9 10 10 postBuild = '' 11 11 wrapProgram $out/bin/gsignond \
+1 -1
pkgs/development/libraries/vapoursynth/editor.nix
··· 45 45 withPlugins = plugins: let 46 46 vapoursynthWithPlugins = vapoursynth.withPlugins plugins; 47 47 in runCommand "${unwrapped.name}-with-plugins" { 48 - buildInputs = [ makeWrapper ]; 48 + nativeBuildInputs = [ makeWrapper ]; 49 49 passthru = { withPlugins = plugins': withPlugins (plugins ++ plugins'); }; 50 50 } '' 51 51 mkdir -p $out/bin
+1 -2
pkgs/development/lisp-modules-new/packages.nix
··· 309 309 sha256 = "12l7ir3q29v06jx0zng5cvlbmap7p709ka3ik6x29lw334qshm9b"; 310 310 }; 311 311 312 + nativeBuildInputs = [ pkgs.makeWrapper ]; 312 313 buildInputs = [ 313 - pkgs.makeWrapper 314 - 315 314 # needed for GSETTINGS_SCHEMAS_PATH 316 315 pkgs.gsettings-desktop-schemas pkgs.glib pkgs.gtk3 317 316
+3 -2
pkgs/development/mobile/androidenv/build-tools.nix
··· 2 2 3 3 deployAndroidPackage { 4 4 inherit package os; 5 - buildInputs = [ makeWrapper ] ++ 6 - lib.optionals (os == "linux") [ autoPatchelfHook pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgs_i686.glibc pkgs_i686.zlib pkgs_i686.ncurses5 pkgs.libcxx ]; 5 + nativeBuildInputs = [ makeWrapper ] 6 + ++ lib.optionals (os == "linux") [ autoPatchelfHook ]; 7 + buildInputs = lib.optionals (os == "linux") [ pkgs.glibc pkgs.zlib pkgs.ncurses5 pkgs_i686.glibc pkgs_i686.zlib pkgs_i686.ncurses5 pkgs.libcxx ]; 7 8 patchInstructions = '' 8 9 ${lib.optionalString (os == "linux") '' 9 10 addAutoPatchelfSearchPath $packageBaseDir/lib
+3 -3
pkgs/development/mobile/androidenv/emulator.nix
··· 2 2 3 3 deployAndroidPackage { 4 4 inherit package os; 5 - buildInputs = [ makeWrapper ] 6 - ++ lib.optionals (os == "linux") (with pkgs; [ 7 - autoPatchelfHook 5 + nativeBuildInputs = [ makeWrapper ] 6 + ++ lib.optionals (os == "linux") [ autoPatchelfHook ]; 7 + buildInputs = lib.optionals (os == "linux") (with pkgs; [ 8 8 glibc 9 9 libcxx 10 10 libGL
+2 -2
pkgs/development/mobile/androidenv/tools/25.nix
··· 2 2 3 3 deployAndroidPackage { 4 4 name = "androidsdk"; 5 - buildInputs = [ autoPatchelfHook makeWrapper ] 6 - ++ lib.optional (os == "linux") [ pkgs.glibc pkgs.xorg.libX11 pkgs.xorg.libXext pkgs.xorg.libXdamage pkgs.xorg.libxcb pkgs.xorg.libXfixes pkgs.xorg.libXrender pkgs.fontconfig.lib pkgs.freetype pkgs.libGL pkgs.zlib pkgs.ncurses5 pkgs.libpulseaudio pkgs_i686.glibc pkgs_i686.xorg.libX11 pkgs_i686.xorg.libXrender pkgs_i686.fontconfig pkgs_i686.freetype pkgs_i686.zlib ]; 5 + nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; 6 + buildInputs = lib.optional (os == "linux") [ pkgs.glibc pkgs.xorg.libX11 pkgs.xorg.libXext pkgs.xorg.libXdamage pkgs.xorg.libxcb pkgs.xorg.libXfixes pkgs.xorg.libXrender pkgs.fontconfig.lib pkgs.freetype pkgs.libGL pkgs.zlib pkgs.ncurses5 pkgs.libpulseaudio pkgs_i686.glibc pkgs_i686.xorg.libX11 pkgs_i686.xorg.libXrender pkgs_i686.fontconfig pkgs_i686.freetype pkgs_i686.zlib ]; 7 7 inherit package os; 8 8 9 9 patchInstructions = ''
+4 -3
pkgs/development/mobile/androidenv/tools/26.nix
··· 3 3 deployAndroidPackage { 4 4 name = "androidsdk"; 5 5 inherit os package; 6 - buildInputs = [ makeWrapper ] 7 - ++ lib.optional (os == "linux") ( 8 - (with pkgs; [ autoPatchelfHook glibc freetype fontconfig fontconfig.lib]) 6 + nativeBuildInputs = [ makeWrapper ] 7 + ++ lib.optionals (os == "linux") [ autoPatchelfHook ]; 8 + buildInputs = lib.optional (os == "linux") ( 9 + (with pkgs; [ glibc freetype fontconfig fontconfig.lib]) 9 10 ++ (with pkgs.xorg; [ libX11 libXrender libXext ]) 10 11 ++ (with pkgs_i686; [ glibc xorg.libX11 xorg.libXrender xorg.libXext fontconfig.lib freetype zlib ]) 11 12 );
+1 -1
pkgs/development/python-modules/gtimelog/default.nix
··· 15 15 sha256 = "0qv2kv7vc3qqlzxsisgg31cmrkkqgnmxspbj10c5fhdmwzzwi0i9"; 16 16 }; 17 17 18 + nativeBuildInputs = [ makeWrapper ]; 18 19 buildInputs = [ 19 - makeWrapper 20 20 glibcLocales gobject-introspection gtk3 libsoup libsecret 21 21 ]; 22 22
+1 -1
pkgs/development/tools/build-managers/msbuild/default.nix
··· 36 36 dotnet-sdk 37 37 mono 38 38 unzip 39 + makeWrapper 39 40 ]; 40 41 41 42 buildInputs = [ 42 43 dotnetPackages.Nuget 43 44 glibcLocales 44 - makeWrapper 45 45 ]; 46 46 47 47 # https://github.com/NixOS/nixpkgs/issues/38991
+1 -2
pkgs/development/tools/eclipse-mat/default.nix
··· 79 79 mv $out/share/pixmaps/eclipse64.png $out/share/pixmaps/eclipse.png 80 80 ''; 81 81 82 - nativeBuildInputs = [ unzip ]; 82 + nativeBuildInputs = [ unzip makeWrapper ]; 83 83 buildInputs = [ 84 84 fontconfig 85 85 freetype ··· 90 90 libX11 91 91 libXrender 92 92 libXtst 93 - makeWrapper 94 93 zlib 95 94 shared-mime-info 96 95 webkitgtk
+1 -1
pkgs/development/tools/haskell/ihaskell/wrapper.nix
··· 14 14 in 15 15 buildEnv { 16 16 name = "ihaskell-with-packages"; 17 - buildInputs = [ makeWrapper ]; 17 + nativeBuildInputs = [ makeWrapper ]; 18 18 paths = [ ihaskellEnv jupyter ]; 19 19 postBuild = '' 20 20 ln -s ${ihaskellSh}/bin/ihaskell-notebook $out/bin/
+2 -1
pkgs/development/web/wml/default.nix
··· 23 23 sed -i '/p2_mp4h\/doc/d' Makefile.in 24 24 ''; 25 25 26 + nativeBuildInputs = [ makeWrapper ]; 26 27 buildInputs = with perlPackages; 27 - [ perl TermReadKey GD BitVector ncurses lynx makeWrapper ImageSize ]; 28 + [ perl TermReadKey GD BitVector ncurses lynx ImageSize ]; 28 29 29 30 patches = [ ./redhat-with-thr.patch ./dynaloader.patch ./no_bitvector.patch ]; 30 31
+1 -1
pkgs/games/frogatto/default.nix
··· 18 18 in buildEnv { 19 19 name = "frogatto-${version}"; 20 20 21 - buildInputs = [ makeWrapper ]; 21 + nativeBuildInputs = [ makeWrapper ]; 22 22 paths = [ engine data desktopItem ]; 23 23 pathsToLink = [ 24 24 "/bin"
+3 -3
pkgs/games/megaglest/default.nix
··· 37 37 }) 38 38 ]; 39 39 40 - nativeBuildInputs = [ cmake pkg-config ]; 41 - buildInputs = [ git curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK 42 - glib cppunit fontconfig freetype ftgl glew libogg libvorbis makeWrapper libGLU ]; 40 + nativeBuildInputs = [ cmake pkg-config makeWrapper git ]; 41 + buildInputs = [ curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK 42 + glib cppunit fontconfig freetype ftgl glew libogg libvorbis libGLU ]; 43 43 44 44 cmakeFlags = [ 45 45 "-DCMAKE_INSTALL_PREFIX=$out"
+1 -2
pkgs/games/nanosaur/default.nix
··· 12 12 fetchSubmodules = true; 13 13 }; 14 14 15 - nativeBuildInputs = [ cmake ]; 15 + nativeBuildInputs = [ cmake makeWrapper ]; 16 16 buildInputs = [ 17 17 SDL2 18 - makeWrapper 19 18 ]; 20 19 21 20 configurePhase = ''
+1 -2
pkgs/games/space-cadet-pinball/default.nix
··· 33 33 }) 34 34 ]; 35 35 36 - nativeBuildInputs = [ cmake ]; 36 + nativeBuildInputs = [ cmake makeWrapper ]; 37 37 buildInputs = [ 38 38 SDL2 39 39 SDL2_mixer 40 - makeWrapper 41 40 ] ++ lib.optional stdenv.isDarwin Cocoa; 42 41 43 42 # Darwin needs a custom installphase since it is excluded from the cmake install
+1 -2
pkgs/games/stuntrally/default.nix
··· 37 37 ln -s ${tracks} data/tracks 38 38 ''; 39 39 40 - nativeBuildInputs = [ cmake pkg-config ]; 40 + nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 41 41 buildInputs = [ 42 42 boost 43 43 ogre ··· 45 45 ois 46 46 SDL2 47 47 libvorbis 48 - makeWrapper 49 48 enet 50 49 libXcursor 51 50 bullet
+2 -2
pkgs/games/xconq/default.nix
··· 10 10 sha256 = "1za78yx57mgwcmmi33wx3533yz1x093dnqis8q2qmqivxav51lca"; 11 11 }; 12 12 13 - buildInputs = [ cpio xorgproto libX11 libXmu libXaw libXt tcl tk libXext 14 - fontconfig makeWrapper ]; 13 + nativeBuildInputs = [ makeWrapper ]; 14 + buildInputs = [ cpio xorgproto libX11 libXmu libXaw libXt tcl tk libXext fontconfig ]; 15 15 16 16 configureFlags = [ 17 17 "--enable-alternate-scoresdir=scores"
+1 -1
pkgs/servers/slimserver/default.nix
··· 21 21 hash = "sha256-P4CSu/ff6i48uWV5gXsJgayZ1S1s0RAqa5O5y3Y0g9Y="; 22 22 }; 23 23 24 + nativeBuildInputs = [ makeWrapper ]; 24 25 buildInputs = [ 25 - makeWrapper 26 26 perlPackages.perl 27 27 perlPackages.AnyEvent 28 28 perlPackages.ArchiveZip
+1 -1
pkgs/servers/sql/postgresql/default.nix
··· 176 176 postgresql.lib 177 177 postgresql.man # in case user installs this into environment 178 178 ]; 179 - buildInputs = [ makeWrapper ]; 179 + nativeBuildInputs = [ makeWrapper ]; 180 180 181 181 182 182 # We include /bin to ensure the $out/bin directory is created, which is
+2 -2
pkgs/servers/web-apps/discourse/mail_receiver/default.nix
··· 11 11 sha256 = "0grifm5qyqazq63va3w26xjqnxwmfixhx0fx0zy7kd39378wwa6i"; 12 12 }; 13 13 14 - nativeBuildInputs = [ replace ]; 15 - buildInputs = [ ruby makeWrapper ]; 14 + nativeBuildInputs = [ replace makeWrapper ]; 15 + buildInputs = [ ruby ]; 16 16 17 17 dontBuild = true; 18 18
+2 -2
pkgs/tools/audio/gvolicon/default.nix
··· 11 11 sha256 = "sha256-lm5OfryV1/1T1RgsVDdp0Jg5rh8AND8M3ighfrznKes="; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkg-config ]; 14 + nativeBuildInputs = [ pkg-config makeWrapper ]; 15 15 buildInputs = [ 16 - makeWrapper alsa-lib gtk3 gdk-pixbuf gnome.adwaita-icon-theme 16 + alsa-lib gtk3 gdk-pixbuf gnome.adwaita-icon-theme 17 17 librsvg wrapGAppsHook 18 18 ]; 19 19
+1 -1
pkgs/tools/backup/lvmsync/default.nix
··· 4 4 pname = "lvmsync"; 5 5 version = (import ./gemset.nix).${pname}.version; 6 6 7 - buildInputs = [ makeWrapper ]; 7 + nativeBuildInputs = [ makeWrapper ]; 8 8 9 9 dontUnpack = true; 10 10
+4 -4
pkgs/tools/filesystems/glusterfs/default.nix
··· 14 14 # can help with finding new Python scripts. 15 15 16 16 buildInputs = [ 17 - fuse bison flex openssl ncurses readline 18 - libtool pkg-config zlib libaio libxml2 19 - acl sqlite liburcu attr makeWrapper util-linux libtirpc gperftools 17 + fuse openssl ncurses readline 18 + zlib libaio libxml2 19 + acl sqlite liburcu attr util-linux libtirpc gperftools 20 20 liburing 21 21 (python3.withPackages (pkgs: [ 22 22 pkgs.flask ··· 106 106 "--localstatedir=/var" 107 107 ]; 108 108 109 - nativeBuildInputs = [ rpcsvc-proto autoconf automake ]; 109 + nativeBuildInputs = [ autoconf automake libtool pkg-config bison flex makeWrapper rpcsvc-proto ]; 110 110 111 111 makeFlags = [ "DESTDIR=$(out)" ]; 112 112
+3 -5
pkgs/tools/networking/dd-agent/5.nix
··· 49 49 50 50 patches = [ ./40103-iostat-fix.patch ]; 51 51 52 - nativeBuildInputs = [ unzip ]; 53 - buildInputs = [ 54 - makeWrapper 55 - ] ++ (with python'.pkgs; [ 52 + nativeBuildInputs = [ unzip makeWrapper ]; 53 + buildInputs = with python'.pkgs; [ 56 54 requests 57 55 psycopg2 58 56 psutil ··· 63 61 python-etcd 64 62 consul 65 63 docker 66 - ]); 64 + ]; 67 65 propagatedBuildInputs = with python'.pkgs; [ python tornado ]; 68 66 69 67 buildCommand = ''
+2 -1
pkgs/tools/security/pass/default.nix
··· 33 33 in buildEnv { 34 34 name = "pass-extensions-env"; 35 35 paths = selected; 36 - buildInputs = [ makeWrapper ] ++ concatMap (x: x.buildInputs) selected; 36 + nativeBuildInputs = [ makeWrapper ]; 37 + buildInputs = concatMap (x: x.buildInputs) selected; 37 38 38 39 postBuild = '' 39 40 files=$(find $out/bin/ -type f -exec readlink -f {} \;)