Try building the system
This commit is contained in:
parent
8cd537665b
commit
7ad1b54572
@ -46,14 +46,14 @@
|
|||||||
devShells.x86_64-linux.default =
|
devShells.x86_64-linux.default =
|
||||||
let
|
let
|
||||||
nixosconf = self.nixosConfigurations.cross;
|
nixosconf = self.nixosConfigurations.cross;
|
||||||
sysconf = nixosconf.config;
|
|
||||||
syspkgs = nixosconf.pkgs;
|
syspkgs = nixosconf.pkgs;
|
||||||
|
toplevel = nixosconf.config.system.build.toplevel;
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
pname = "qemu-shell";
|
pname = "qemu-shell";
|
||||||
buildInputs = with pkgs; [ qemu ];
|
buildInputs = with pkgs; [ qemu ];
|
||||||
# Here we tell the run script where to find the system
|
# 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;
|
OPENSBI = syspkgs.opensbi;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user