feat: make nrb fetch from remote by default
All checks were successful
/ check (push) Successful in 4m22s
All checks were successful
/ check (push) Successful in 4m22s
This commit is contained in:
parent
e02e3557dc
commit
b912daedcd
1 changed files with 4 additions and 2 deletions
|
@ -9,10 +9,12 @@
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
nixos-rebuild build --flake . || exit 1
|
flake="''${1:-https://buffets.kitchen/kitchen/rice/archive/main.tar.gz}"
|
||||||
|
|
||||||
|
nixos-rebuild build --flake "$flake" --option tarball-ttl 0|| exit 1
|
||||||
diff="$(${pkgs.nvd}/bin/nvd diff /run/current-system result)"
|
diff="$(${pkgs.nvd}/bin/nvd diff /run/current-system result)"
|
||||||
rm result
|
rm result
|
||||||
nixos-rebuild switch --flake .
|
nixos-rebuild switch --flake "$flake" --option tarball-ttl 0
|
||||||
echo '***'
|
echo '***'
|
||||||
printf '%s\n' "$diff"
|
printf '%s\n' "$diff"
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue