tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hspell: stdenv.lib -> lib
Ben Siraphob
5 years ago
9071feb0
7ff2c85a
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
hspell
default.nix
+4
-4
pkgs/development/libraries/hspell/default.nix
···
16
16
};
17
17
18
18
patchPhase = "patchShebangs .";
19
19
-
preBuild = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
19
19
+
preBuild = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
20
20
make CC=${buildPackages.stdenv.cc}/bin/cc find_sizes
21
21
mv find_sizes find_sizes_build
22
22
make clean
23
23
24
24
substituteInPlace Makefile --replace "./find_sizes" "./find_sizes_build"
25
25
-
substituteInPlace Makefile --replace "ar cr" "${stdenv.lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar cr"
26
26
-
substituteInPlace Makefile --replace "ranlib" "${stdenv.lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
27
27
-
substituteInPlace Makefile --replace "STRIP=strip" "STRIP=${stdenv.lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
25
25
+
substituteInPlace Makefile --replace "ar cr" "${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar cr"
26
26
+
substituteInPlace Makefile --replace "ranlib" "${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
27
27
+
substituteInPlace Makefile --replace "STRIP=strip" "STRIP=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
28
28
'';
29
29
nativeBuildInputs = [ perl zlib ];
30
30
# buildInputs = [ zlib ];