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 = '' script = ''
pushd /tmp pushd /tmp
rm -rf ./nixos 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 pushd ./nixos
${getExe pkgs.git} verify-commit HEAD || { git verify-commit HEAD || {
echo "Verification failed." echo "Verification failed."
exit 1 exit 1
}; };
${getExe pkgs.gnumake} switch make switch fix-hm
${getExe pkgs.gnumake} fix-hm-root
''; '';
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wants = [ "network-online.target" ]; wants = [ "network-online.target" ];