nixpkgs/pkgs
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
..
applications stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
build-support stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
common-updater
data stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
desktops stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
development stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
games
misc Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-04 22:07:03 +01:00
os-specific stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
pkgs-lib
servers Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-05 13:22:34 +01:00
shells Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-05 13:22:34 +01:00
stdenv stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
test
tools stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
top-level Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-05 13:22:34 +01:00