pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# All platforms inputs then Linux-only ones
|
||||
buildInputs = [ judy libbsd libgcrypt zlib ]
|
||||
++ stdenv.lib.optionals stdenv.hostPlatform.isLinux [
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
attr keyutils libaio libapparmor libcap lksctp-tools
|
||||
];
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.hostPlatform.isMusl "-D_LINUX_SYSINFO_H=1";
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isMusl "-D_LINUX_SYSINFO_H=1";
|
||||
|
||||
# Won't build on i686 because the binary will be linked again in the
|
||||
# install phase without checking the dependencies. This will prevent
|
||||
|
||||
Reference in New Issue
Block a user