tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
toybox: fix build with libxcrypt
Martin Weinelt
3 years ago
eb2ed865
7f0e9f08
+7
-3
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
toybox
default.nix
+7
-3
pkgs/tools/misc/toybox/default.nix
···
1
1
{
2
2
stdenv, lib, fetchFromGitHub, which,
3
3
-
buildPackages,
3
3
+
buildPackages, libxcrypt,
4
4
enableStatic ? stdenv.hostPlatform.isStatic,
5
5
enableMinimal ? false,
6
6
extraConfig ? ""
···
18
18
};
19
19
20
20
depsBuildBuild = [ buildPackages.stdenv.cc ]; # needed for cross
21
21
-
buildInputs = lib.optionals (enableStatic && stdenv.cc.libc ? static)
22
22
-
[ stdenv.cc.libc stdenv.cc.libc.static ];
21
21
+
buildInputs = [
22
22
+
libxcrypt
23
23
+
] ++lib.optionals (enableStatic && stdenv.cc.libc ? static) [
24
24
+
stdenv.cc.libc
25
25
+
stdenv.cc.libc.static
26
26
+
];
23
27
24
28
postPatch = "patchShebangs .";
25
29