Try building the system

This commit is contained in:
Rodrigo Arias Mallo 2024-01-17 18:33:58 +01:00
parent 8cd537665b
commit 7ad1b54572

View File

@ -46,14 +46,14 @@
devShells.x86_64-linux.default =
let
nixosconf = self.nixosConfigurations.cross;
sysconf = nixosconf.config;
syspkgs = nixosconf.pkgs;
toplevel = nixosconf.config.system.build.toplevel;
in
pkgs.mkShell {
pname = "qemu-shell";
buildInputs = with pkgs; [ qemu ];
# Here we tell the run script where to find the system
#NIXOS_SYSTEM_TOPLEVEL = "${sysconfig.system.build.toplevel}";
NIXOS_SYSTEM_TOPLEVEL = toplevel;
OPENSBI = syspkgs.opensbi;
};
};