···338 if vimrcFile != null then vimrcFile
339 else if vimrcConfig != null then mkVimrcFile vimrcConfig
340 else throw "at least one of vimrcConfig and vimrcFile must be specified";
341- bin = runCommand "${name}-bin" { buildInputs = [ makeWrapper ]; } ''
342 vimrc=${lib.escapeShellArg vimrc}
343 gvimrc=${if gvimrcFile != null then lib.escapeShellArg gvimrcFile else ""}
344
···338 if vimrcFile != null then vimrcFile
339 else if vimrcConfig != null then mkVimrcFile vimrcConfig
340 else throw "at least one of vimrcConfig and vimrcFile must be specified";
341+ bin = runCommand "${name}-bin" { nativeBuildInputs = [ makeWrapper ]; } ''
342 vimrc=${lib.escapeShellArg vimrc}
343 gvimrc=${if gvimrcFile != null then lib.escapeShellArg gvimrcFile else ""}
344
···10 sha256 = "10zxih7gmyhq0az1mnsw2x563l4bbwcns794s4png8rf4d6hjszm";
11 };
1213- nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ perl libX11 libXinerama libjpeg libpng libtiff
15- librsvg glib gtk2 libXxf86vm libXext poppler xine-lib ghostscript makeWrapper ];
1617 # The program tries to dlopen Xxf86vm, Xext and Xinerama, so we use the
18 # trick on NIX_LDFLAGS and dontPatchELF to make it find them.
···10 sha256 = "10zxih7gmyhq0az1mnsw2x563l4bbwcns794s4png8rf4d6hjszm";
11 };
1213+ nativeBuildInputs = [ pkg-config makeWrapper ];
14 buildInputs = [ perl libX11 libXinerama libjpeg libpng libtiff
15+ librsvg glib gtk2 libXxf86vm libXext poppler xine-lib ghostscript ];
1617 # The program tries to dlopen Xxf86vm, Xext and Xinerama, so we use the
18 # trick on NIX_LDFLAGS and dontPatchELF to make it find them.
···12 };
1314 # LaTeX is used from $PATH, as people often want to have it with extra pkgs
15- nativeBuildInputs = [ pkg-config ];
16 buildInputs = [
17 qtbase qtsvg python3 file/*for libmagic*/ bc
18- hunspell makeWrapper # enchant
19 ];
2021 configureFlags = [
···12 };
1314 # LaTeX is used from $PATH, as people often want to have it with extra pkgs
15+ nativeBuildInputs = [ pkg-config makeWrapper ];
16 buildInputs = [
17 qtbase qtsvg python3 file/*for libmagic*/ bc
18+ hunspell # enchant
19 ];
2021 configureFlags = [
···30let
31 buildInputs = [
32 pythonEnv # for patchShebangs
33- makeWrapper
34 pkg-config
35 blas lapack
36 singular
···73 []
74 );
7576- allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs);
77 transitiveDeps = lib.unique (builtins.concatLists (map transitiveClosure allInputs ));
78 # fix differences between spkg and sage names
79 # (could patch sage instead, but this is more lightweight and also works for packages depending on sage)
···30let
31 buildInputs = [
32 pythonEnv # for patchShebangs
033 pkg-config
34 blas lapack
35 singular
···72 []
73 );
7475+ allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs ++ [ makeWrapper ]);
76 transitiveDeps = lib.unique (builtins.concatLists (map transitiveClosure allInputs ));
77 # fix differences between spkg and sage names
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 pname = "sage";
18 src = sage-with-env.env.lib.src;
1920- buildInputs = [
21- makeWrapper
22- ] ++ lib.optionals requireSageTests [
23 # This is a hack to make sure sage-tests is evaluated. It doesn't acutally
24 # produce anything of value, it just decouples the tests from the build.
25 sage-tests
···17 pname = "sage";
18 src = sage-with-env.env.lib.src;
1920+ nativeBuildInputs = [ makeWrapper ];
21+ buildInputs = lib.optionals requireSageTests [
022 # This is a hack to make sure sage-tests is evaluated. It doesn't acutally
23 # produce anything of value, it just decouples the tests from the build.
24 sage-tests
···176 postgresql.lib
177 postgresql.man # in case user installs this into environment
178 ];
179- buildInputs = [ makeWrapper ];
180181182 # We include /bin to ensure the $out/bin directory is created, which is
···176 postgresql.lib
177 postgresql.man # in case user installs this into environment
178 ];
179+ nativeBuildInputs = [ makeWrapper ];
180181182 # We include /bin to ensure the $out/bin directory is created, which is