1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
nix-darwin/modules
Sebastian Reuße 6ad463a764
zsh: don't be noisy when scripts are run with -u
When a script specifies the shell option "nounset" as part of the
shebang (e.g., via "#!/usr/bin/env -S zsh -u"), our initialization
scripts would produce error messages of the form:

    __ETC_FOO_SOURCED: parameter not set

These messages could probably be confusing to users when running such
scripts. By providing a fall-back in the parameter expansion, we can
avoid them.

This patch does not address interactive shell start-up, where such
messages may (or may not) be less problematic.

NixOS/nixpkgs@7d84dbdf5b
2024-09-11 14:07:24 +02:00
..
documentation Reapply "eval-config: set class" 2024-06-13 14:35:20 +01:00
environment refactor: rename environment.postBuild to environment.extraSetup 2024-08-17 02:50:56 +03:00
examples {ids,checks}: update for new builder UID/GID values 2024-09-11 01:17:01 +01:00
fonts fonts: remove fonts.fontDir.enable 2024-06-13 11:56:58 +01:00
launchd Merge pull request #716 from tmillr/fix-launchd-calendar-interval 2024-06-15 09:40:58 +01:00
lib write-text: remove support for copy 2024-06-15 12:15:13 +01:00
misc {ids,checks}: update for new builder UID/GID values 2024-09-11 01:17:01 +01:00
networking treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
nix linux-builder: make package.nixosConfig accurate 2024-09-05 13:54:53 +10:00
programs zsh: don't be noisy when scripts are run with -u 2024-09-11 14:07:24 +02:00
security treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
services nixos/github-runner: quote comma separators so as to pass shellcheck 2024-09-06 14:57:35 +02:00
system {ids,checks}: update for new builder UID/GID values 2024-09-11 01:17:01 +01:00
time treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
users users: allow arbitrary group IDs 2024-09-05 10:39:01 +01:00
alias.nix Update def and implementation of nix.package to match NixOS module 2022-08-16 10:41:51 -07:00
homebrew.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
meta.nix treewide: remove lib.mdDoc 2024-04-19 04:05:50 +02:00
module-list.nix (feature) Add Stage Manager (com.apple.WindowManager) settings as system.defaults.windowmanager 2024-08-02 01:17:45 +02:00