Robert Hensing and GitHub
a1cd06f900
Merge pull request #211082 from hercules-ci/fix-issue-16182
...
Fix issue 16182 `Error: _assignFirst found no valid variant!`
2023-01-19 19:22:04 +01:00
Alyssa Ross
1fc2a79ee1
makeSetupHook: make "name" argument mandatory
...
It's very frustrating to try to read through a derivation graph full
of derivations that are all just called "hook", so let's try to avoid
that.
2023-01-19 15:00:36 +00:00
Alyssa Ross
0ae87d514f
treewide: add names to all setup hooks
2023-01-19 15:00:36 +00:00
Sergei Trofimovich and GitHub
ede51ce77b
Merge pull request #209995 from r-ryantm/auto-update/xterm
...
xterm: 377 -> 378
2023-01-19 07:52:38 +00:00
Zhaofeng Li and zowoq
d450afc911
cargo-auditable-cargo-wrapper: Use writeShellScriptBin instead of writeShellApplication
...
This is to prevent pulling in GHC for such a simple wrapper script.
2023-01-19 13:50:01 +10:00
Robert Schütz and GitHub
3a7055a432
Merge pull request #210072 from dotlambda/CVE-2022-40899
...
python310Packages.future: 0.18.2 -> 0.18.3
2023-01-18 19:42:20 -08:00
John Ericson and GitHub
39f60a4e54
Merge pull request #210764 from alyssais/mtdev-freebsd
...
mtdev: add FreeBSD support
2023-01-18 20:23:44 -05:00
Fabian Affolter and GitHub
2414c6b0ed
Merge pull request #210028 from fabaff/exceptiongroup-bump
...
python310Packages.exceptiongroup: 1.0.4 -> 1.1.0, python310Packages.cachetools: 5.2.0 -> 5.2.1
2023-01-19 00:09:49 +01:00
Fabian Affolter and GitHub
a9e6a1881e
Merge pull request #210789 from fabaff/simplejson-bump
...
python310Packages.simplejson: 3.18.0 -> 3.18.1
2023-01-19 00:09:30 +01:00
Fabian Affolter and GitHub
5781d7ad36
Merge pull request #210778 from fabaff/requests-bump
...
python310Packages.requests: 2.28.1 -> 2.28.2
2023-01-19 00:09:11 +01:00
Alyssa Ross
a1dc7fcf17
pkg-config: depend on libiconv unconditionally
...
libiconv is already defined per-platform. The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.
Fixes pkgsCross.x86_64-freebsd.pkg-config.
2023-01-18 18:51:41 +00:00
Sandro and GitHub
f2a48e1402
Merge pull request #211281 from LibreCybernetics/update-git
2023-01-18 16:07:05 +01:00
Artturi and GitHub
5421135fb3
Merge pull request #211323 from thefloweringash/stdenv-local
...
stdenv: don't clobber useArray and type in {prepend,append}ToVar
2023-01-18 15:14:26 +02:00
Nick Cao and GitHub
f04182510f
Merge pull request #210896 from NickCao/systemd-tpm2
...
systemd: fix tpm2 driver init
2023-01-18 13:41:00 +08:00
Andrew Childs
68f1182b65
stdenv: don't clobber useArray and type in {prepend,append}ToVar
...
Some other packages, for example ruby gems via buildRubyGem, use a
variable called "type" internally, which is overwritten here and
causes failures like:
failure: $gempkg path unspecified
Fix for changes in 11c3127e38 .
2023-01-18 11:59:47 +09:00
Fabián Heredia Montiel
f50df0ed93
git: 2.39.0 → 2.39.1
...
Advisories:
- https://github.blog/2023-01-17-git-security-vulnerabilities-announced-2/
CVEs:
- CVE-2022-23521
- CVE-2022-41903
- CVE-2022-41953
2023-01-17 15:28:05 -06:00
c696a19bfa
multiple-outputs.sh: Apply suggestions from code review
...
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io >
2023-01-17 21:18:59 +01:00
John Ericson and GitHub
2c48770293
Merge pull request #210816 from obsidiansystems/gcc-fix-bug-80431
...
gcc: Backport fix of GCC Issue 80431 from version 12
2023-01-17 11:45:29 -05:00
Artturi and GitHub
37c965dc7b
Merge pull request #211163 from Artturin/cleanupstdenvsetup2
2023-01-17 18:21:41 +02:00
toonn and GitHub
b7590f3429
Merge pull request #189977 from stephank/feat/swift-darwin
...
swift: split build & Darwin support.
2023-01-17 14:51:00 +01:00
Artturin
e525ae1e1e
stdenv: disable shellcheck rule SC2068 & SC1091
...
this is intentional to support both structuredAttrs and non
In pkgs/stdenv/generic/setup.sh line 614:
for pkg in ${depsBuildBuild[@]} ${depsBuildBuildPropagated[@]}; do
^------------------^ SC2068 (error): Double quote array expansions to avoid re-splitting elements.
In pkgs/stdenv/generic/setup.sh line 521:
local varRef="$varVar[$((targetOffset - hostOffset))]"
^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
2023-01-16 23:54:14 +02:00
Artturin
f2c27018f0
stdenv: fix SC2242
...
exit -1 == exit 255 but we don't have a reason to use 255
In pkgs/stdenv/generic/setup.sh line 518:
(( hostOffset <= targetOffset )) || exit -1
^-- SC2242 (error): Can only exit with status 0-255. Other data should be wri
tten to stdout/stderr.
2023-01-16 23:03:21 +02:00
Artturi and GitHub
e09153da00
Merge pull request #210993 from Artturin/cleanupstdenvsetup1
2023-01-16 22:12:11 +02:00
github-actions[bot] and GitHub
5a50475572
Merge staging-next into staging
2023-01-16 18:01:50 +00:00
github-actions[bot] and GitHub
fe2b59d5ec
Merge master into staging-next
2023-01-16 18:01:17 +00:00
Sergei Trofimovich and GitHub
532346c853
Merge pull request #211111 from trofi/lzip-no-op-cleanup
...
lzip: drop no-op nativeBuildInputs = [ ]; assignment
2023-01-16 17:04:01 +00:00
Lily Foster and Emery Hemingway
f46ee73ba6
dracut: init at 059
2023-01-16 10:53:16 -06:00
Fabian Möller and Emery Hemingway
7c1096ab99
rsync: fix build with musl
...
The rsync build tries to use IFUNC for SIMD optimizations on x86_64,
which has to be disabled for musl.
2023-01-16 10:51:05 -06:00
ajs124 and Emery Hemingway
2de90e2e84
umurmur: fix build with openssl_3
2023-01-16 10:48:36 -06:00
Sergei Trofimovich
ea1a841e6f
lzip: drop no-op nativeBuildInputs = [ ]; assignment
...
`nixpkgs` usually omits the assignment for most empty variables.
2023-01-16 16:44:13 +00:00
Thomas Gerbet and GitHub
b77bbeca8b
Merge pull request #210742 from risicle/ris-wireshark-4.0.2
...
wireshark: 4.0.1 -> 4.0.2
2023-01-16 17:35:57 +01:00
Lassulus and GitHub
14c48f9864
Merge pull request #211098 from Mic92/lxc-container
...
nixos/lxc-container: fix compatibility with systemd-nspawn
2023-01-16 17:31:25 +01:00
Michael Alan Dorman and pennae
2bb560b367
gmrender-resurrect: Add gmediarender service
...
This creates a systemd unit that will start and supervise the
gmediarender daemon.
2023-01-16 17:28:56 +01:00
Sandro and GitHub
aa01a3b1df
Merge pull request #210952 from r-ryantm/auto-update/python310Packages.google-cloud-securitycenter
2023-01-16 17:18:48 +01:00
Sandro and GitHub
3b0ea1e099
Merge pull request #209332 from Luflosi/update/nextpnr
2023-01-16 16:46:49 +01:00
7c6f434c and GitHub
f55df0d09e
Merge pull request #210513 from actionshrimp/tcpflow-platforms
...
tcpflow: broaden platforms
2023-01-16 15:22:52 +00:00
Jörg Thalheim
22a8cf0c28
nixos/lxc-container: fix compatibility with systemd-nspawn
2023-01-16 15:50:37 +01:00
Thiago Kenji Okada and GitHub
63435ecbd9
Merge pull request #205360 from r-ryantm/auto-update/clojure-lsp
...
clojure-lsp: 2022.11.03-00.14.57 -> 2022.12.09-15.51.10
2023-01-16 14:27:33 +00:00
Kou Yong Kang and GitHub
1a44669ef4
zotero: 6.0.18 -> 6.0.20 ( #210142 )
2023-01-16 15:20:37 +01:00
Sandro and GitHub
b62fe5095d
Merge pull request #210765 from lourkeur/chia-dev-tools
2023-01-16 15:19:00 +01:00
markuskowa and GitHub
e04f1c4e0c
Merge pull request #210756 from r-ryantm/auto-update/cp2k
...
cp2k: 2022.2 -> 2023.1
2023-01-16 14:41:03 +01:00
Jörg Thalheim and GitHub
f1b0fbcaa3
Merge pull request #211074 from Atemu/toybox-darwin-unbreak
...
toybox: fix Libsystem inconsistency properly
2023-01-16 14:35:34 +01:00
Fabian Affolter and GitHub
94897428db
Merge pull request #210845 from r-ryantm/auto-update/linux-router-without-wifi
...
linux-router-without-wifi: 0.6.6 -> 0.6.7
2023-01-16 13:27:06 +01:00
4dbc2fe873
nixos/syncthing: point out pitfalls with extraOptions ( #210208 )
...
Co-authored-by: digital <git-voopaipa@dinid.net >
2023-01-16 13:12:12 +01:00
github-actions[bot] and GitHub
55b5b71fba
Merge staging-next into staging
2023-01-16 12:02:01 +00:00
github-actions[bot] and GitHub
3f95e66c1d
Merge master into staging-next
2023-01-16 12:01:28 +00:00
Robert Hensing
d16e068b14
testers.testBuildFailure: Fix
...
A call to getAllOutputNames was added as part of the structuredAttrs
effort, but this script does not source `setup.sh`, so I repeat the
definition here.
Should be a bit quicker than `source setup.sh`.
2023-01-16 12:57:01 +01:00
Robert Hensing
01d7f19346
multi-outputs.sh: Improve _assignFirst error message
...
Closes #16182
This improves the error message
Error: _assignFirst found no valid variant!
which occurred when the set of outputs was not sufficient to set
the various outputDev, outputBin, etc variables. Specifically, this
would mean that "out" is not among the outputs, which is valid for
a derivation.
This changes the message to something like
error: _assignFirst: could not find a non-empty variable to assign to outputDev. The following variables were all unset or empty: dev out.
If you did not define an "out" output, make sure to define all the specific required outputs: define an output for one of the unset variables.
While this isn't a full explanation of what stdenv can and can not do,
I think it's vast improvement over the 0 bits of information that it
used to provide. This at least gives a clue as to what's going on, and
even suggests a fix, although probably multiple such fixes are required
in an instance where someone starts with a no-out derivation from scratch
(and decide to persist).
2023-01-16 12:57:01 +01:00
R. Ryantm and Bobby Rong
2cae716942
monetdb: 11.45.7 -> 11.45.11
2023-01-16 19:37:01 +08:00
Bobby Rong and GitHub
02ff815e23
Merge pull request #210420 from eliandoran/dev/trilium_update
...
trilium-{desktop,server}: 0.57.5 -> 0.58.5
2023-01-16 19:30:59 +08:00