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
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-ext4-fs.nix
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
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