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 Revert "pkgs/top-level/config.nix: nixfmt, declare options" 2024-08-05 16:44:45 +00:00
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 stdenv/check-meta: Use bespoke type checking 2023-12-26 15:14:42 +13:00
setup.sh pkgs/stdenv/generic/setup.sh: lint with ShellCheck (#351849) 2024-11-01 08:52:44 -07:00