Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information