Cole Helbling
d9f767600f
lib/customisation: callPackageWith should abort with errors
...
ofborg relies on the behavior that existed prior to
1c00bf3948
, where evaluation would
immediately abort due to a missing argument (whether it be an aliased
package when `allowAliases = false;` or a typo'd or otherwise
nonexistent package).
If `callPackageWith` `throw`s instead of `abort`s, the following
`nix-env` invocation does not fail fast but instead silently skips the
attribute (assuming there is a package that has an aliased package in
its `autoArgs`):
$ nix-env -qa --json --file . --arg config '{ allowAliases = false; }' &>/dev/null
$ echo $?
0
This does change the error output when there is a missing package (for
any of the reasons mentioned above), though. Before this change, the
errors looked like this:
$ nix-build -A hello --arg config '{ allowAliases = false; }'
error:
… while calling the 'throw' builtin
at /home/vin/workspace/vcs/nixpkgs/master/lib/customisation.nix:179:65:
178|
179| in if missingArgs == [] then makeOverridable f allArgs else throw error;
| ^
180|
error: Function called without required argument "bash_5" at /home/vin/workspace/vcs/nixpkgs/master/pkgs/applications/misc/hello/default.nix:8, did you mean "bash" or "bashdb"?
And the errors now look like this:
$ nix-build -A hello --arg config '{ allowAliases = false; }'
error:
… while calling the 'abort' builtin
at /home/vin/workspace/vcs/nixpkgs/master/lib/customisation.nix:179:65:
178|
179| in if missingArgs == [] then makeOverridable f allArgs else abort error;
| ^
180|
error: evaluation aborted with the following error message: 'Function called without required argument "bash_5" at /home/vin/workspace/vcs/nixpkgs/master/pkgs/applications/misc/hello/default.nix:8, did you mean "bash" or "bashdb"?'
2023-03-24 14:22:11 -07:00
Fabian Affolter
274cbb9c4e
python310Packages.dissect-target: disable failing tests
2023-03-24 22:20:28 +01:00
Fabian Affolter
96ccc11a63
python310Packages.dissect-thumbcache: disable failing tests
2023-03-24 22:12:20 +01:00
Maximilian Bosch
2e4e45290e
Merge pull request #222930 from Ma27/bump-nextcloud
...
nextcloud: 24.0.10 -> 24.0.11, 25.0.4 -> 25.0.5
2023-03-24 22:01:54 +01:00
figsoda
977497735f
Merge pull request #222789 from figsoda/git-dive
2023-03-24 16:41:00 -04:00
Fabian Affolter
e2d257f988
python310Packages.dissect-xfs: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.xfs/releases/tag/3.4
2023-03-24 21:38:54 +01:00
Fabian Affolter
3908228e7e
python310Packages.dissect-volume: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.volume/releases/tag/3.4
2023-03-24 21:38:50 +01:00
Fabian Affolter
6d92b346c4
python310Packages.dissect-vmfs: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.vmfs/releases/tag/3.4
2023-03-24 21:38:46 +01:00
Fabian Affolter
66997b1d49
python310Packages.dissect-util: 3.6 -> 3.7
...
Changelog: https://github.com/fox-it/dissect.util/releases/tag/3.7
2023-03-24 21:38:41 +01:00
Fabian Affolter
381a2b8604
python310Packages.dissect-target: 3.7 -> 3.8
...
Changelog: https://github.com/fox-it/dissect.target/releases/tag/3.8
2023-03-24 21:38:36 +01:00
Fabian Affolter
5abac894fb
python310Packages.dissect-sql: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.sql/releases/tag/3.4
2023-03-24 21:38:31 +01:00
Fabian Affolter
635314077e
python310Packages.dissect-shellitem: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.shellitem/releases/tag/3.4
2023-03-24 21:38:27 +01:00
Fabian Affolter
6defe8ec8f
python310Packages.dissect-regf: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.regf/releases/tag/3.4
2023-03-24 21:38:22 +01:00
Fabian Affolter
924897f2d8
python310Packages.dissect-ole: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.ole/releases/tag/3.4
2023-03-24 21:38:18 +01:00
Fabian Affolter
aa88040a6a
python310Packages.dissect-ntfs: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.ntfs/releases/tag/3.4
2023-03-24 21:38:13 +01:00
Fabian Affolter
ae80eea2cf
python310Packages.dissect-hypervisor: 3.5 -> 3.6
...
Changelog: https://github.com/fox-it/dissect.hypervisor/releases/tag/3.6
2023-03-24 21:38:09 +01:00
Fabian Affolter
ae077aced7
python310Packages.dissect-ffs: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.ffs/releases/tag/3.4
2023-03-24 21:38:04 +01:00
Fabian Affolter
778c90250d
python310Packages.dissect-fat: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.fat/releases/tag/3.4
2023-03-24 21:38:00 +01:00
Fabian Affolter
9d9a75af7d
python310Packages.dissect-extfs: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.extfs/releases/tag/3.4
2023-03-24 21:37:55 +01:00
Fabian Affolter
edb7e080d2
python310Packages.dissect-evidence: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.evidence/releases/tag/3.4
2023-03-24 21:37:51 +01:00
Fabian Affolter
834ef9179d
python310Packages.dissect-eventlog: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.eventlog/releases/tag/3.4
2023-03-24 21:37:47 +01:00
Fabian Affolter
da3ad93352
python310Packages.dissect-etl: 3.3 -> 3.4
...
Changelog: https://github.com/fox-it/dissect.etl/releases/tag/3.4
2023-03-24 21:37:42 +01:00
Fabian Affolter
e31ec2a438
python310Packages.dissect-esedb: 3.5 -> 3.6
...
Changelog: https://github.com/fox-it/dissect.esedb/releases/tag/3.6
2023-03-24 21:37:37 +01:00
Fabian Affolter
c19d45bceb
python310Packages.dissect-cstruct: 3.5 -> 3.6
...
Changelog: https://github.com/fox-it/dissect.cstruct/releases/tag/3.6
2023-03-24 21:37:32 +01:00
Fabian Affolter
30f158a47e
python310Packages.dissect-clfs: 1.3 -> 1.4
...
Changelog: https://github.com/fox-it/dissect.clfs/releases/tag/1.4
2023-03-24 21:37:28 +01:00
Fabian Affolter
37ce12c6c9
python310Packages.dissect-cim: 3.4 -> 3.5
...
Changelog: https://github.com/fox-it/dissect.cim/releases/tag/3.5
2023-03-24 21:37:23 +01:00
Martin Weinelt
e56ea3c325
Merge pull request #222701 from jopejoe1/firefox
...
firefox-{beta,devedition}-unwrapped: init at 112.0b6
2023-03-24 21:34:31 +01:00
Weijia Wang
8d709fdd24
Merge pull request #222935 from kevinmehall/patch-1
...
nixos/ssh: Update github.com host key in programs.ssh.knownHostsFiles example
2023-03-24 22:27:41 +02:00
Weijia Wang
21be60fd0b
Merge pull request #222926 from r-ryantm/auto-update/linkerd_edge
...
linkerd_edge: 23.3.2 -> 23.3.3
2023-03-24 22:19:20 +02:00
Weijia Wang
c708ca53d3
Merge pull request #222675 from r-ryantm/auto-update/hpmyroom
...
hpmyroom: 12.1.1.0257 -> 12.9.0.0601
2023-03-24 22:13:51 +02:00
Weijia Wang
146a66ecc2
Merge pull request #222840 from r-ryantm/auto-update/libgbinder
...
libgbinder: 1.1.32 -> 1.1.33
2023-03-24 22:09:13 +02:00
Weijia Wang
c14fe3a518
Merge pull request #222836 from r-ryantm/auto-update/fsarchiver
...
fsarchiver: 0.8.6 -> 0.8.7
2023-03-24 22:08:30 +02:00
Weijia Wang
5153bf2eac
Merge pull request #222832 from r-ryantm/auto-update/qdrant
...
qdrant: 1.0.3 -> 1.1.0
2023-03-24 22:07:32 +02:00
Weijia Wang
82c730598f
Merge pull request #222818 from r-ryantm/auto-update/clickhouse-backup
...
clickhouse-backup: 2.1.3 -> 2.2.0
2023-03-24 22:04:58 +02:00
Weijia Wang
558dc35cce
Merge pull request #222816 from r-ryantm/auto-update/pocketbase
...
pocketbase: 0.13.3 -> 0.13.4
2023-03-24 22:04:07 +02:00
Weijia Wang
6dba80b5e3
Merge pull request #222814 from r-ryantm/auto-update/oidentd
...
oidentd: 3.0.0 -> 3.1.0
2023-03-24 22:01:38 +02:00
Weijia Wang
a68feb1f56
Merge pull request #222813 from r-ryantm/auto-update/oven-media-engine
...
oven-media-engine: 0.15.3 -> 0.15.5
2023-03-24 22:00:23 +02:00
Weijia Wang
6742db1983
Merge pull request #222810 from r-ryantm/auto-update/tvm
...
tvm: 0.11.0 -> 0.11.1
2023-03-24 21:58:22 +02:00
Weijia Wang
35e6570a66
Merge pull request #222729 from r-ryantm/auto-update/klayout
...
klayout: 0.28.5 -> 0.28.6
2023-03-24 21:57:37 +02:00
Weijia Wang
768601ed91
Merge pull request #222719 from r-ryantm/auto-update/go-minimock
...
go-minimock: 3.1.1 -> 3.1.2
2023-03-24 21:55:47 +02:00
Weijia Wang
aace3ac619
Merge pull request #222705 from r-ryantm/auto-update/kics
...
kics: 1.6.11 -> 1.6.12
2023-03-24 21:51:27 +02:00
Weijia Wang
b7ea3a3939
Merge pull request #222704 from r-ryantm/auto-update/hcloud
...
hcloud: 1.31.1 -> 1.32.0
2023-03-24 21:45:07 +02:00
Weijia Wang
c873adc066
Merge pull request #222703 from r-ryantm/auto-update/mongodb-compass
...
mongodb-compass: 1.35.0 -> 1.36.1
2023-03-24 21:44:37 +02:00
Martin Weinelt
33c20483c1
Merge pull request #222933 from r-ryantm/auto-update/esphome
...
esphome: 2023.3.0 -> 2023.3.1
2023-03-24 20:43:05 +01:00
Weijia Wang
49ccb13270
Merge pull request #222688 from r-ryantm/auto-update/liferea
...
liferea: 1.14.1 -> 1.14.2
2023-03-24 21:42:26 +02:00
Weijia Wang
33b3c13b83
Merge pull request #222938 from r-ryantm/auto-update/rocclr
...
rocclr: 5.4.3 -> 5.4.4
2023-03-24 21:39:35 +02:00
Weijia Wang
d80db095d7
Merge pull request #222672 from r-ryantm/auto-update/wasm-pack
...
wasm-pack: 0.10.3 -> 0.11.0
2023-03-24 21:38:42 +02:00
Weijia Wang
a5136640c4
Merge pull request #222669 from r-ryantm/auto-update/operator-sdk
...
operator-sdk: 1.27.0 -> 1.28.0
2023-03-24 21:37:39 +02:00
Weijia Wang
6b13d5340b
Merge pull request #222565 from r-ryantm/auto-update/re-flex
...
re-flex: 3.3.1 -> 3.3.2
2023-03-24 21:36:15 +02:00
Weijia Wang
dedf17650f
Merge pull request #222562 from r-ryantm/auto-update/dufs
...
dufs: 0.32.0 -> 0.33.0
2023-03-24 21:34:49 +02:00