From d8b2f16f84ccf682b16757a2fe67eadd079ec57f Mon Sep 17 00:00:00 2001 From: zuckerberg <5-zuckerberg@users.noreply.git.neet.dev> Date: Thu, 26 Aug 2021 20:52:04 -0400 Subject: [PATCH] update scripts --- lockfile-update.sh | 5 ++++- update.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lockfile-update.sh b/lockfile-update.sh index 068805e..0035676 100755 --- a/lockfile-update.sh +++ b/lockfile-update.sh @@ -1 +1,4 @@ -nix flake update --recreate-lock-file --commit-lock-file \ No newline at end of file +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p bash + +nix flake update --commit-lock-file \ No newline at end of file diff --git a/update.sh b/update.sh index c49880c..700a22a 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,6 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p bash + git pull -nix flake update --recreate-lock-file # intentionally ignore the lockfile +nix flake update # intentionally ignore the lockfile sudo nixos-rebuild switch --flake . \ No newline at end of file