nixpkgs/pkgs/build-support/release
Artturin 238a6053c4 stdenv: support opt-in __structuredAttrs
Co-authored-by: Robin Gloster <mail@glob.in>

stdenv: print message if structuredAttrs is enabled

stdenv: add _append

reduces the chance of a user doing it wrong

fix nix develop issue

output hooks don't work yet in nix develop though

making $outputs be the same on non-structuredAttrs and structuredAttrs
is too much trouble.

lets instead make a function that gets the output names

reading environment file '/nix/store/2x7m69a2sm2kh0r6v0q5s9z1dh41m4xf-xz-5.2.5-env-bin'
nix: src/nix/develop.cc:299: std::string Common::makeRcScript(nix::ref<nix::Store>, const BuildEnvironment&, const Path&): Assertion `outputs != buildEnvironment.vars.end()' failed.

use a function to get all output names instead of using $outputs

copy env functionality from https://github.com/NixOS/nixpkgs/pull/76732/commits
2022-12-08 06:13:19 +02:00
..
binary-tarball.nix releaseTools: no-op expression cleanup 2020-03-21 21:15:33 -04:00
debian-build.nix releaseTools.debBuild: fix invocation 2021-10-10 22:08:16 +05:00
default.nix treewide: *Flags convert to list from str 2022-10-10 15:30:59 +03:00
functions.sh releaseTools.antBuild: remove 2021-10-27 13:21:27 +03:00
maven-build.nix treewide: *Flags convert to list from str 2022-10-10 15:30:59 +03:00
nix-build.nix stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
rpm-build.nix releaseTools: no-op expression cleanup 2020-03-21 21:15:33 -04:00
source-tarball.nix