AutoUpdateSigned : Fix fix-hm.

This commit is contained in:
Dmitry Voronin 2024-09-12 01:04:07 +03:00
parent 35fea860e0
commit ab1d75e4ab
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -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" ];