glibc,iconv,libc,mtrace: move NIX_NO_SELF_RPATH into env
glibc/locales.nix and gcc have it in env as well.
This commit is contained in:
@@ -42,8 +42,6 @@ in
|
||||
# override the patches in `common.nix` -- so instead you should
|
||||
# write `patches = (previousAttrs.patches or []) ++ [ ... ]`.
|
||||
|
||||
NIX_NO_SELF_RPATH = true;
|
||||
|
||||
postConfigure = ''
|
||||
# Hack: get rid of the `-static' flag set by the bootstrap stdenv.
|
||||
# This has to be done *after* `configure' because it builds some
|
||||
@@ -68,6 +66,8 @@ in
|
||||
];
|
||||
|
||||
env = (previousAttrs.env or { }) // {
|
||||
NIX_NO_SELF_RPATH = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE =
|
||||
(previousAttrs.env.NIX_CFLAGS_COMPILE or "")
|
||||
+ lib.concatStringsSep " " (
|
||||
|
||||
Reference in New Issue
Block a user