nixpkgs/pkgs/stdenv/generic
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
..
builder.sh
check-meta.nix
common-path.nix
default-builder.sh
default.nix stdenv: elaborate on nature of mass rebuilds 2024-11-30 15:11:09 +01:00
make-derivation.nix stdenv.mkDerivation: support structuredAttrs in inputDerivation 2024-12-03 18:32:05 +01:00
meta-types.nix
setup.sh pkgs/stdenv/generic/setup.sh: lint with ShellCheck (#351849) 2024-11-01 08:52:44 -07:00