nixpkgs/nixos/lib
talyz 95069d76d3
genJqSecretsReplacementSnippet: Propagate secret file read errors
If an error occurs while trying to read a secret file, we want that
error to propagate to the main shell context. That means we have to
set the `inherit_errexit` option, which allows errors from subshells
to propagate to the outer shell. Also, the subshell cannot run as part
of another command, such as `export`, since that will simply ignore
the subshell exit status and only respect `export`s exit status; first
assigning the value to a variable and then exporting it solves issue.
2022-01-31 12:44:54 +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: remove unused imports, add pylint unused-import check 2022-01-02 23:12:21 +01: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 Merge pull request #153211 from hercules-ci/minimal-nixos 2022-01-20 14:42:46 +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
make-iso9660-image.nix
make-iso9660-image.sh
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 lib/qemu-common: Add serial device name for RISC-V 2022-01-09 15:29:52 -08:00
systemd-lib.nix Merge branch 'staging-next' into staging 2021-12-11 14:01:19 -05:00
systemd-unit-options.nix Move systemd-lib.nix and systemd-unit-options.nix into utils 2021-11-20 17:52:29 -05:00
testing-python.nix nixos/test-driver: also passthru driverInteractive 2022-01-04 14:52:37 +01:00
utils.nix genJqSecretsReplacementSnippet: Propagate secret file read errors 2022-01-31 12:44:54 +01:00