nixpkgs/pkgs/build-support
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
..
add-opengl-runpath
agda
alternatives
appimage Merge pull request #203598 from symphorien/appimage-owd 2022-12-02 20:12:49 +00:00
bintools-wrapper stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
build-bazel-package
build-fhs-userenv
build-fhs-userenv-bubblewrap
build-graalvm-native-image
build-setupcfg
buildenv
cc-wrapper cc-wrapper: fix path to libcxx includes for cross compilers 2022-11-30 18:46:16 +01:00
coq
dhall
docker dockerTools: fix nginx test 2022-11-30 15:23:43 +10:00
dotnet buildDotnetModule: generate a NuGet.config with source 2022-11-25 18:50:44 +01:00
emacs
expand-response-params
fake-nss
fetchbitbucket
fetchbower
fetchbzr
fetchcvs
fetchdarcs
fetchdocker
fetchfirefoxaddon
fetchfossil
fetchgit fetchgit: make sparseCheckout a list of strings 2022-11-15 19:45:33 +01:00
fetchgitea
fetchgithub treewide: make sparseCheckout a list of strings 2022-11-15 19:46:12 +01:00
fetchgitiles
fetchgitlab fetchFromGitLab: don't passthruAttrs fetchGit specific attrs to fetchUrl 2022-10-29 19:12:07 +03:00
fetchgitlocal
fetchgx
fetchhg
fetchipfs
fetchmavenartifact
fetchmtn
fetchnextcloudapp
fetchpatch
fetchrepoorcz
fetchrepoproject
fetchs3
fetchsavannah
fetchsourcehut
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl tests.fetchurl: remove alias usage 2022-11-24 22:32:34 +02:00
fetchzip fetchzip: auto generate name from pname-version 2022-11-07 13:40:57 -05:00
flutter mkFlutterApp: support apps which don't produce a .packages 2022-12-02 03:22:52 +00:00
go buildGo{module,package}: do not build with verbose flags 2022-12-04 16:42:53 +01:00
icon-conv-tools
install-shell-files
java
kernel splice.nix: start deprecating nativeDrv and crossDrv 2022-11-19 00:04:54 +02:00
libredirect
make-darwin-bundle
make-desktopitem
make-pkgconfigitem
make-startupitem
mkshell
mono-dll-fixer
nix-gitignore
node npmHooks.npmInstallHook: pass --no-save to prune 2022-11-25 15:47:05 -05:00
nuke-references
ocaml ocamlPackages.buildOcaml: remove 2022-10-25 09:40:57 +02:00
oci-tools
pkg-config-wrapper
portable-service
prefer-remote-fetch
references-by-popularity dockerTools: prefer local builds 2022-11-18 09:31:53 -05:00
release stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
remove-references-to
replace-secret
rust rustPlatform.buildRustPackage: add useNextest option to check with cargo-nextest 2022-11-28 17:00:17 -05:00
setup-hooks stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
singularity-tools
snap
src-only
substitute
substitute-files
templaterpm
testers stdenv: support opt-in __structuredAttrs 2022-12-08 06:13:19 +02:00
trivial-builders tests.trivial-builders.linkFarm: init 2022-11-15 11:47:36 -05:00
vm
wrapper-common build-support: Quote expansions inside ${…} 2022-12-02 04:59:43 -05:00
writers
build-maven.nix
build-pecl.nix build-pecl: fetch via https 2022-11-21 00:27:34 +01:00
closure-info.nix
make-impure-test.nix makeImpureTest: init function for hardware tests 2022-11-22 16:54:32 +01:00
plugins.nix
replace-dependency.nix
setup-systemd-units.nix
source-from-head-fun.nix
trivial-builders.nix linkFarm: make last entry win in case of list repeats 2022-11-15 11:45:20 -05:00