From 24c6fb9fd93fbdfb2a7085b513383229b8231739 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 23 Jan 2024 14:58:27 +0100 Subject: build(treewide): Update --- sys/nixpkgs/pkgs/update_pkgs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/nixpkgs/pkgs/update_pkgs') diff --git a/sys/nixpkgs/pkgs/update_pkgs b/sys/nixpkgs/pkgs/update_pkgs index df26784b..d6684f06 100755 --- a/sys/nixpkgs/pkgs/update_pkgs +++ b/sys/nixpkgs/pkgs/update_pkgs @@ -14,10 +14,12 @@ fd . --type directory --max-depth 1 | while read -r dir; do if [ -f update.sh ]; then printf "\033[34;1m> \033[0m%s" "\033[32;1mRunning '${dir}update.sh'\033[0m"; - nix flake update + if [ -f flake.nix ]; then + nix flake update - direnv allow - eval "$(direnv export bash)" + direnv allow + eval "$(direnv export bash)" + fi ./update.sh fi -- cgit 1.4.1