mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
set default zonedir to match fhs (#491193)
This commit is contained in:
commit
a6735426ca
1 changed files with 6 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue