···1212 };
13131414 # LaTeX is used from $PATH, as people often want to have it with extra pkgs
1515- nativeBuildInputs = [ pkg-config ];
1515+ nativeBuildInputs = [ pkg-config makeWrapper ];
1616 buildInputs = [
1717 qtbase qtsvg python3 file/*for libmagic*/ bc
1818- hunspell makeWrapper # enchant
1818+ hunspell # enchant
1919 ];
20202121 configureFlags = [
···3030let
3131 buildInputs = [
3232 pythonEnv # for patchShebangs
3333- makeWrapper
3433 pkg-config
3534 blas lapack
3635 singular
···7372 []
7473 );
75747676- allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs);
7575+ allInputs = lib.remove null (buildInputs ++ pythonEnv.extraLibs ++ [ makeWrapper ]);
7776 transitiveDeps = lib.unique (builtins.concatLists (map transitiveClosure allInputs ));
7877 # fix differences between spkg and sage names
7978 # (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
···1717 pname = "sage";
1818 src = sage-with-env.env.lib.src;
19192020- buildInputs = [
2121- makeWrapper
2222- ] ++ lib.optionals requireSageTests [
2020+ nativeBuildInputs = [ makeWrapper ];
2121+ buildInputs = lib.optionals requireSageTests [
2322 # This is a hack to make sure sage-tests is evaluated. It doesn't acutally
2423 # produce anything of value, it just decouples the tests from the build.
2524 sage-tests
···176176 postgresql.lib
177177 postgresql.man # in case user installs this into environment
178178 ];
179179- buildInputs = [ makeWrapper ];
179179+ nativeBuildInputs = [ makeWrapper ];
180180181181182182 # We include /bin to ensure the $out/bin directory is created, which is