liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 83ee488e4c81124380b8bd4ff8183e632f30eb91
parent f19a937eda476e29f4b5477e76d8271ed3b90cdf
Author: Daniel Barlow <dan@telent.net>
Date:   Tue,  9 Jan 2024 13:10:02 +0000

systemconfig: /boot needs to go inside /persist

Diffstat:
Mpkgs/systemconfig/default.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/systemconfig/default.nix b/pkgs/systemconfig/default.nix @@ -95,7 +95,7 @@ in attrset: if test -d $dest/persist; then dest=$dest/persist; fi cp -v -fP \$src/bin/* \$src/etc/* \$dest ${if attrset ? boot then '' - (cd \$prefix && rm ./boot && ln -sf ${lib.strings.removePrefix "/" attrset.boot.target} ./boot) + (cd \$dest && rm ./boot && ln -sf ${lib.strings.removePrefix "/" attrset.boot.target} ./boot) '' else ""} EOF chmod +x $out/bin/install