mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-16 05:38:57 +00:00
set default zonedir to match fhs (#491193)
This commit is contained in:
@@ -209,7 +209,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