Commit graph

432803 commits

Author SHA1 Message Date
Artturin 89dc806f13 what to do about attrs.env or {} maybe have a empty env attrset always
so no need to use `or`
2022-12-08 21:11:35 +02:00
Artturin c577eb6892 wrapNonDeterministicGcc: fix
nix-repl> legacyPackages.x86_64-linux.fastStdenv
error: The ‘env’ attribute set cannot contain any attributes passed to derivation. The following attributes are overlapping: cc
«derivation
2022-12-08 21:09:02 +02:00
Artturin c41cc9e762 treewide: move some perl vars to env attrset 2022-12-08 21:09:02 +02:00
Artturin 02e3f51d27 darwin: use // for binutils-unwrapped and cctools to preserve the other
attributes
2022-12-08 21:09:02 +02:00
Artturin c01f509e44 treewide: source .attrs in builders
if theres a source $stdenv then this is needed

for structuredAttrs
2022-12-08 21:09:02 +02:00
Artturin bb914d8676 stdenv: export system pname name version for substituteAll
so we don't have to add these to the env attrset
2022-12-08 21:09:02 +02:00
Artturin 18d00c5814 tests.stdenv: add some env attrset tests 2022-12-08 21:09:02 +02:00
Artturin adc8900df1 treewide: fix some core package structuredAttrs 2022-12-08 21:05:28 +02:00
Artturin 734d7df235 allow derivation attributes in env
derivations can be coerced to their output paths
2022-12-08 06:13:19 +02:00
Artturin 8ad0103a34 config.structuredAttrsByDefault: add option 2022-12-08 06:13:19 +02:00
Artturin 1c4820efdd work around a nix bug 2022-12-08 06:13:19 +02:00
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
Fabian Affolter 3754f95007
Merge pull request #200912 from fabaff/responses-bump
python310Packages.responses: 0.21.0 -> 0.22.0
2022-12-05 19:10:10 +01:00
Fabian Affolter c96b7c6974
Merge pull request #193652 from fabaff/pyhamcrest-bump
python310Packages.pyhamcrest: 2.0.3 -> 2.0.4
2022-12-05 19:01:25 +01:00
Jörg Thalheim 1a70303230
Merge pull request #204497 from Mic92/go-build
buildGo{module,package}: do not build with verbose flags
2022-12-05 13:43:36 +01:00
Martin Weinelt 9256404e6b Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-05 13:22:34 +01:00
Martin Weinelt f32cee9f3c Merge remote-tracking branch 'origin/master' into staging-next 2022-12-05 13:22:20 +01:00
Mario Rodas 6e51c97f1c
Merge pull request #204052 from adamcstephens/edk2-202211
edk2: 202205 -> 202211
2022-12-05 07:21:17 -05:00
Mario Rodas e831a2190d
Merge pull request #203923 from marsam/update-snowflake
snowflake: 2.3.1 -> 2.4.0
2022-12-05 07:14:27 -05:00
Bobby Rong 150020a452
Merge pull request #204603 from BillHuang2001/update/feishu
feishu: 5.14.14 -> 5.18.11
2022-12-05 19:50:20 +08:00
Sandro 2255f28d87
Merge pull request #162716 from rembo10/roundcube-plugin-custom-from
roundcubePlugins.custom_from: init at 1.6.6
2022-12-05 12:18:57 +01:00
Sandro 17491905e6
Merge pull request #202015 from wegank/qt6-qtbase-darwin
qt6: add darwin support
2022-12-05 12:15:51 +01:00
Sandro a86a90f4a0
Merge pull request #200458 from wegank/rml-init
rml: init at 1.09.07
2022-12-05 12:14:56 +01:00
Vincent Laporte 543070eafe ocamlPackages.gen: 0.5 → 1.0 2022-12-05 11:14:12 +01:00
rembo10 31a9917ad2 roundcubePlugins.custom_from: init at 1.6.6 2022-12-05 15:17:30 +05:30
Valentin Gagarin 5b9b93b9be
Merge pull request #204257 from raboof/nixpkgs-manual-update-meta-attributes
manual: update meta-attributes section
2022-12-05 09:46:46 +01:00
Vincent Laporte 221b44a071 coq: 8.16.0 → 8.16.1 2022-12-05 09:22:59 +01:00
Vincent Laporte da52ce18b6 coqPackages.VST: add support for Coq 8.16.1 2022-12-05 09:22:59 +01:00
Vincent Laporte 3eb6874bda compcert: add support for Coq 8.16.1 2022-12-05 09:22:59 +01:00
github-actions[bot] 4590da9d9c terraform-providers.keycloak: 4.0.1 → 4.1.0 2022-12-05 16:22:01 +10:00
github-actions[bot] d267d26578
Merge master into staging-next 2022-12-05 06:01:36 +00:00
figsoda bc85ef8158
Merge pull request #204586 from r-ryantm/auto-update/spdx-license-list-data
spdx-license-list-data: 3.18 -> 3.19
2022-12-04 23:45:20 -05:00
figsoda bd118caf88
Merge pull request #204570 from marsam/update-esbuild
esbuild: 0.15.16 -> 0.15.18
2022-12-04 22:20:21 -05:00
R. Ryantm 47a9f2f8f8 spdx-license-list-data: 3.18 -> 3.19 2022-12-05 03:06:03 +00:00
figsoda 1fc2448970
Merge pull request #204579 from r-ryantm/auto-update/skaffold
skaffold: 2.0.2 -> 2.0.3
2022-12-04 21:58:42 -05:00
Mario Rodas 5c58838dac
Merge pull request #204568 from marsam/update-luau
luau: 0.554 -> 0.555
2022-12-04 21:51:18 -05:00
figsoda a3aabed6d3
Merge pull request #204575 from r-ryantm/auto-update/sentry-cli
sentry-cli: 2.9.0 -> 2.10.0
2022-12-04 21:40:38 -05:00
Mario Rodas 02d25d3fee esbuild: 0.15.17 -> 0.15.18
https://github.com/evanw/esbuild/releases/tag/v0.15.18
2022-12-04 21:38:00 -05:00
R. Ryantm 709ab669fe skaffold: 2.0.2 -> 2.0.3 2022-12-05 02:22:57 +00:00
Pierre Bourdon f16be35641
Merge pull request #204564 from SuperSandro2000/zbar-nox
nixos/no-x-libs: add zbar
2022-12-05 02:55:25 +01:00
R. Ryantm 04084c1775 sentry-cli: 2.9.0 -> 2.10.0 2022-12-05 01:55:03 +00:00
Sandro 9af2d9564b
Merge pull request #199542 from raphaelr/rider-fix-coverage-gen 2022-12-05 02:44:34 +01:00
Ben Siraphob 6eee892012
Merge pull request #202261 from phdcybersec/master 2022-12-05 14:34:48 +13:00
Sandro da724217e7
Merge pull request #196992 from edrex/obsidian_wayland 2022-12-05 02:27:57 +01:00
Sandro Jäckel de66678a60
nixos/no-x-libs: add zbar 2022-12-05 02:07:00 +01:00
Sandro Jäckel d0ffce42bb
nixos/no-x-libs: add imagemagick/imagemagickBig 2022-12-05 02:07:00 +01:00
Sandro Jäckel 4312ffd16a
zbar: add option to disable Xorg 2022-12-05 02:07:00 +01:00
Sandro Jäckel e22198417d
zbar: fix enableVideo not fully removing gtk/qt 2022-12-05 02:07:00 +01:00
Robert Scott a08f048bb4
Merge pull request #204469 from LeSuisse/xercesc-3.2.4
xercesc: 3.2.3 -> 3.2.4
2022-12-05 00:47:38 +00:00
Anderson Torres 8e3d96849c
Merge pull request #204315 from nagy/jna-init
jna: init at 4.5.2
2022-12-04 21:37:48 -03:00