1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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
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
generic stdenv.mkDerivation: support structuredAttrs in inputDerivation 2024-12-03 18:32:05 +01:00
linux
native
nix
tests
adapters.nix
booter.nix
default.nix