nixpkgs/pkgs/stdenv
Elias Naur 88fd6601d8 stdenv: remove the NIX_LIB*_IN_SELF_RPATH environment variables
The NIX_LIB64|32_IN_SELF_RPATH environment variables control whether
to add lib64 and lib32 to rpaths. However, they're set depending
on the build paltform, not the target platform and thus their values
are incorrect for for cross-builds.

On the other hand, setting them according to the build platform introduce
pointless differences in build outputs; see #221350 for details.

This change fixes the issues by boldly removes the NIX_LIB*_IN_SELF_RPATH
facility altogether, in the hope that it is no longer necessary. They
were introduced in 2009, long before nixpkgs had good support for
cross-builds.

Fixes #221350
2023-03-31 10:47:16 -06:00
..
cross stdenv/cross: remove now-redundant file nativeBuildInput on mingw 2022-06-06 11:26:46 -07:00
custom
cygwin
darwin stdenvBootstrapTools: native aarch64-darwin build 2023-02-11 20:11:55 +01:00
freebsd config.contentAddressedByDefault: init option 2022-04-27 23:21:32 +03:00
generic stdenv: remove the NIX_LIB*_IN_SELF_RPATH environment variables 2023-03-31 10:47:16 -06:00
linux stdenv: remove the NIX_LIB*_IN_SELF_RPATH environment variables 2023-03-31 10:47:16 -06:00
native treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix Merge staging-next into staging 2023-02-23 18:01:49 +00:00
booter.nix
default.nix stdenv: Simplify dispatch 2022-07-29 18:34:02 -04:00