diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-10-30 15:15:54 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:27:17 +0100 |
| commit | e3c893c7df92e026309492dd1e646b7a77979656 (patch) | |
| tree | 93326849419dce78ce31704425d94a18122cef3f /pkgs | |
| parent | inputs.nix: Add more deduplications and clearly denote stable/unstable nixpkgs (diff) | |
| download | nixos-server-e3c893c7df92e026309492dd1e646b7a77979656.zip | |
treewide: Various fixes
Diffstat (limited to 'pkgs')
| -rwxr-xr-x | pkgs/update_pkgs.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh index 3e33b72..d447889 100755 --- a/pkgs/update_pkgs.sh +++ b/pkgs/update_pkgs.sh @@ -9,7 +9,7 @@ cd "$(dirname "$0")" || die "Bug: run with the wrong first arg: '$0'!" cd ./by-name || die "(BUG): The directory './by-name' does not exist?" # First check if all the update scripts conform to the standard -files_with_update="$(mktemp)" +files_with_update="$(mktemp -t update_pkgs_XXXXX)" trap 'rm "$files_with_update"' EXIT fd '^update.sh$' . --type file --extension sh --max-depth 3 | while read -r file; do @@ -30,8 +30,6 @@ fd . --type directory --max-depth 1 | while read -r shard; do if [ -x update.sh ]; then printf " \033[34;1m> \033[0m\033[34;1m%s\033[0m\n" "Running '${shard}${package}update.sh' .." - [ -f flake.nix ] && nix flake update - direnv allow eval "$(direnv export bash 2>/dev/null)" ./update.sh "$@" |
