Skip to content

Commit 415862b

Browse files
committed
Run nix flake update via igm-update
1 parent b0ea4c4 commit 415862b

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

nix/flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/igm-update

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@
33
DOTFILES=$HOME/dotfiles
44
source $DOTFILES/scripts/igm-helpers.sh
55

6-
cd $DOTFILES
7-
8-
nix_cmd flake update --flake $DOTFILES/nix
6+
cd $DOTFILES/nix
97
nix_cmd flake update
108

11-
nix_cmd fmt $DOTFILES/nix
12-
nix_cmd fmt
9+
cd $DOTFILES
1310
git add .
1411

1512
git commit -am "Run nix flake update via igm-update"
16-
17-
FLAKE_PATH=$(flake_path)
18-
echo "Using flake at path $FLAKE_PATH."
19-
cd $FLAKE_PATH
20-
nix_cmd flake update

0 commit comments

Comments
 (0)