summary refs log tree commit diff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 6ce5622..a277a4e 100755
--- a/update.sh
+++ b/update.sh
@@ -4,9 +4,9 @@ if [ -d "nixpkgs" ]; then
     cd nixpkgs
     git remote add upstream https://github.com/NixOS/nixpkgs || git remote set-url upstream https://github.com/NixOS/nixpkgs
     git fetch --all -v
-    git rebase upstream/nixos-unstable -v
+    git rebase upstream/nixos-unstable -v && git push --force
     cd ..
 fi
 
 nix flake update
-./build.sh / $HOSTNAME
\ No newline at end of file
+./build.sh / $HOSTNAME