From 5fde5ccd1fadb6904aad803fa16fce596967f92a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 18 Jul 2021 13:49:00 -0600 Subject: [PATCH] [NixOS] Remove flake.lock when rebuilding --- nixos/rebuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/rebuild.sh b/nixos/rebuild.sh index bd2a9943..7c54a76e 100755 --- a/nixos/rebuild.sh +++ b/nixos/rebuild.sh @@ -1,3 +1,4 @@ #!/usr/bin/env sh +rm flake.lock nix flake update --impure --inputs-from . sudo nixos-rebuild switch --flake '.#' --impure