nixpkgs/nixos
talyz b65b9bf73c
nixos/gitlab: Implement better script error handling
Fail scripts on pipeline errors and propagate subshell errors.

If an error occurs in a subshell, including 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 13:09:20 +01:00
..
doc mariadb: mention multiple release support in release notes 2022-01-22 02:28:55 +01:00
lib genJqSecretsReplacementSnippet: Propagate secret file read errors 2022-01-31 12:44:54 +01:00
maintainers create-amis.sh: possible deprecation 2021-11-11 09:04:29 -07:00
modules nixos/gitlab: Implement better script error handling 2022-01-31 13:09:20 +01:00
tests nixosTests.boot-stage1: fix kernel build with 5.15 2022-01-22 17:45:39 -08:00
COPYING
default.nix nixos: Make system.build.vm a standard attribute based on vmVariant 2021-12-17 14:49:31 +01:00
README
release-combined.nix
release-small.nix
release.nix lxdImage: split from docker profile, use generators.toYAML 2021-11-03 07:49:54 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.