AutoUpdateSigned : Fix fix-hm.
This commit is contained in:
parent
35fea860e0
commit
ab1d75e4ab
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue