3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications
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
..
accessibility nixos/tests/phosh: add subtest to check the on-screen keyboard 2022-11-26 10:17:04 +01:00
audio Merge remote-tracking branch 'origin/master' into staging-next 2022-12-04 22:06:42 +01:00
backup Merge pull request #201328 from NixOS/cinnamon 2022-11-29 14:33:07 +08:00
blockchains sparrow: 1.7.0 -> 1.7.1 (#201321) 2022-12-04 20:12:39 +01:00
display-managers lightdm-slick-greeter: 1.5.9 -> 1.6.0 2022-12-04 11:20:51 +08:00
editors Merge master into staging-next 2022-12-05 06:01:36 +00:00
emulators Merge pull request #202597 from natto1784/ryujinx-update 2022-12-04 22:41:30 +01:00
file-managers doublecmd: 1.0.8 -> 1.0.9 2022-12-04 01:54:16 +00:00
finance
gis Merge pull request #199625 from wegank/grass-wxgtk 2022-11-20 07:14:52 +01:00
graphics Merge pull request #191978 from jansol/renderdoc 2022-11-30 16:21:34 +01:00
kde Merge #202990: filelight: fix QML dependencies 2022-11-29 09:39:51 +01:00
logging
maui
misc Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-05 13:22:34 +01:00
networking stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
office Merge pull request #197106 from emmanuelrosa/freeoffice 2022-12-04 21:24:51 +01:00
plasma-mobile
printing/pappl
qubes/qubes-core-vchan-xen
radio csdr: fix build on aarch64 2022-11-23 00:28:15 +01:00
science Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-05 13:22:34 +01:00
search
system asusctl: init at 4.5.2 2022-12-04 10:11:27 +03:00
terminal-emulators kermit-terminal: 3.7 -> 3.8 2022-12-04 18:36:40 -03:00
version-management Merge pull request #204409 from r-ryantm/auto-update/lefthook 2022-12-04 14:03:45 -05:00
video Merge pull request #204225 from bobby285271/cinnamon 2022-12-04 12:02:36 +08:00
virtualization Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-04 22:07:03 +01:00
window-managers Merge pull request #203482 from wuyoli/master 2022-11-30 22:05:34 +01:00