nixpkgs/pkgs/stdenv
Wolfgang Walther 6648c58eae
stdenv.mkDerivation: support structuredAttrs in inputDerivation
The goal is to print all store references into $out.

First, $out itself is not defined with structuredAttrs, but we can work
around that with placeholder. Alternatively we could source
$stdenv/setup after sourcing the attrs.sh file, but that feels like
overkill.

To support structuredAttrs we source the attrs.sh file. export will not
be enough anymore, because the attrs file sets bash variables, not
environment variables. Thus we resort to declare -p.

Resolves #321005
2024-12-03 18:32:05 +01:00
..
cross darwin.stdenv: provide an SDK when cross-compiling 2024-10-10 16:23:04 -04:00
custom stdenv/custom: avoid aliases 2024-11-27 04:41:31 +00:00
cygwin
darwin llvmPackages.llvm-manpages: fix eval on Darwin 2024-11-20 18:27:53 -05:00
freebsd freebsd stdenv: be more principled about portioning out bootstrap libraries 2024-11-17 09:36:15 -07:00
generic stdenv.mkDerivation: support structuredAttrs in inputDerivation 2024-12-03 18:32:05 +01:00
linux pkgs/stdenv/linux: update armv7l-unknown-linux-gnueabihf bootstrap-files 2024-11-03 17:15:44 +01:00
native
nix
tests
adapters.nix overrideSDK: update for the new SDK 2024-10-10 16:23:08 -04:00
booter.nix
default.nix