liminix

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

commit 541b1c61c259c483fbfad66c831bbaed479abaff
parent 55c7410a55901cb46e1f06fdfd2810914fe78093
Author: Daniel Barlow <dan@telent.net>
Date:   Wed,  9 Oct 2024 18:59:33 +0100

ensure $toplevel is path in /nix/store

Diffstat:
Mpkgs/systemconfig/build-system-install.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/systemconfig/build-system-install.sh b/pkgs/systemconfig/build-system-install.sh @@ -32,7 +32,7 @@ shift test -n "$target_host" || \ die "Usage: $0 [--no-reboot] [--fast] target-host" -toplevel=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +toplevel=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && readlink `pwd` ) test -e $toplevel/etc/nix-store-paths || die "missing etc/nix-store-paths, is this really a system configuration?" echo installing from systemConfiguration $toplevel to host $target_host