3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib
talyz b549e7bbb5
genJqSecretsReplacementSnippet: Fix error handling
With the previous change that enabled error propagation through
`inherit_errexit`, the script would fail if `errexit` was set, but
`inherit_errexit` was not. This is due to `shopt -p` exiting with an
error if the option is disabled. To work around this, use the exit
code instead of the text value returned by `shopt -p`.

Fixes #160869.
2022-02-23 12:48:51 +01:00
..
make-options-doc nixos/make-options-doc: treat missing descriptions as errors by default 2022-01-02 19:46:13 +01:00
test-driver nixos/test-driver: fix regression when using legacy start command 2022-02-17 18:12:24 -08:00
build-vms.nix nixosTest: Provide system.build.networkConfig 2021-10-17 23:56:52 +02:00
default.nix nixos/lib: Add featureFlags, use it for minimal modules 2022-01-10 12:36:57 +01:00
eval-cacheable-options.nix nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
eval-config-minimal.nix nixos/lib: Clarify that nixos.evalModules impl is NOT experimental 2022-01-10 12:36:57 +01:00
eval-config.nix nixos: move default module location logic to eval-config.nix 2022-01-27 22:13:35 +01:00
from-env.nix
make-channel.nix
make-disk-image.nix make-disk-image: Make additionalPaths work with Nix 2.4 2021-11-29 21:11:15 +01:00
make-ext4-fs.nix nixos/lib/make-ext4-fs: Fix: `resize2fs -M' can leave insufficient slack 2021-05-31 21:35:51 +02:00
make-iso9660-image.nix
make-iso9660-image.sh installer/cd-dvd/iso-image: avoid leaking build timestamps on non-x86 2022-01-05 12:05:15 -06:00
make-squashfs.nix make-squashfs: use $NIX_BUILD_CORES or 48 cores if above 48 2021-12-08 19:23:31 +02:00
make-system-tarball.nix
make-system-tarball.sh
make-zfs-image.nix treewide: refactor isi686 && isx86_64 -> isx86 2021-11-20 17:50:41 -08:00
qemu-common.nix Revert "qemu, runInLinuxVM: change default cpu to qemu64" 2022-01-20 15:29:33 +00:00
systemd-lib.nix Merge pull request #152372 from symphorien/systemd-validate-after 2022-01-31 20:57:13 +00:00
systemd-unit-options.nix nixos/systemd: Add reloadTriggers to services 2022-02-09 15:14:37 +01:00
testing-python.nix nixos/testing-python: actually copy build artefacts 2022-01-26 22:26:19 +01:00
utils.nix genJqSecretsReplacementSnippet: Fix error handling 2022-02-23 12:48:51 +01:00