nixpkgs/pkgs/os-specific
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
..
bsd freebsd packages: Init at 13.1 2022-11-04 16:50:26 -04:00
darwin stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
linux Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-04 22:07:03 +01:00
solo5 solo5: 0.7.3 -> 0.7.4 2022-11-08 08:13:10 -06:00
windows pkgsCross.mingwW64.windows.mingw_w64: backport parallel build fixes 2022-12-01 08:31:11 +00:00