pkgs/os-specific: stdenv.lib -> lib
This commit is contained in:
@@ -39,7 +39,7 @@ let
|
||||
UCLIBC_SUSV4_LEGACY y
|
||||
UCLIBC_HAS_THREADS_NATIVE y
|
||||
KERNEL_HEADERS "${linuxHeaders}/include"
|
||||
'' + stdenv.lib.optionalString (stdenv.isAarch32 && stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
'' + lib.optionalString (stdenv.isAarch32 && stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
CONFIG_ARM_EABI y
|
||||
ARCH_WANTS_BIG_ENDIAN n
|
||||
ARCH_BIG_ENDIAN n
|
||||
@@ -83,7 +83,7 @@ stdenv.mkDerivation {
|
||||
makeFlags = [
|
||||
"ARCH=${stdenv.hostPlatform.parsed.cpu.name}"
|
||||
"VERBOSE=1"
|
||||
] ++ stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"CROSS=${stdenv.cc.targetPrefix}"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user