From ab1d75e4ab700e23fe9bad99f4a27cb303338167 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 12 Sep 2024 01:04:07 +0300 Subject: [PATCH] AutoUpdateSigned : Fix fix-hm. --- module/AutoUpdateSigned.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/module/AutoUpdateSigned.nix b/module/AutoUpdateSigned.nix index 8d4b8ea..bd2cf3a 100644 --- a/module/AutoUpdateSigned.nix +++ b/module/AutoUpdateSigned.nix @@ -33,14 +33,13 @@ in { script = '' pushd /tmp rm -rf ./nixos - ${getExe pkgs.git} clone --depth=1 --single-branch --branch=main ${const.url} ./nixos + git clone --depth=1 --single-branch --branch=main ${const.url} ./nixos pushd ./nixos - ${getExe pkgs.git} verify-commit HEAD || { + git verify-commit HEAD || { echo "Verification failed." exit 1 }; - ${getExe pkgs.gnumake} switch - ${getExe pkgs.gnumake} fix-hm-root + make switch fix-hm ''; after = [ "network-online.target" ]; wants = [ "network-online.target" ];