Try building the system
This commit is contained in:
parent
8cd537665b
commit
7ad1b54572
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user