mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
glibc: set default zonedir to match fhs
This commit is contained in:
@@ -208,7 +208,12 @@ stdenv.mkDerivation (
|
||||
|
||||
makeFlags =
|
||||
(args.makeFlags or [ ])
|
||||
++ [ "OBJCOPY=${stdenv.cc.targetPrefix}objcopy" ]
|
||||
++ [
|
||||
"OBJCOPY=${stdenv.cc.targetPrefix}objcopy"
|
||||
# zonedir does nothing on NixOS but is important for non-NixOS.
|
||||
# See https://github.com/NixOS/nixpkgs/pull/491193
|
||||
"zonedir=/usr/share/zoneinfo"
|
||||
]
|
||||
++ lib.optionals (stdenv.cc.libc != null) [
|
||||
"BUILD_LDFLAGS=-Wl,-rpath,${stdenv.cc.libc}/lib"
|
||||
"OBJDUMP=${stdenv.cc.bintools.bintools}/bin/objdump"
|
||||
|
||||
Reference in New Issue
Block a user