Skip to content

Commit 73745a3

Browse files
Merge pull request #190 from FrameworkComputer/uefi-nix
devenv: Add dependencies to build and run uefi tool in QEMU
2 parents 955691a + fd71dac commit 73745a3

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

devenv.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@
33
{
44
packages = with pkgs; [
55
systemd # libudev
6+
# For UEFI building and testing
7+
parted
8+
gnumake
9+
qemu
610
];
711

8-
languages.rust.enable = true;
9-
# https://devenv.sh/reference/options/#languagesrustchannel
10-
languages.rust.channel = "stable";
12+
languages.rust = {
13+
enable = true;
14+
targets = [ "x86_64-unknown-uefi" ];
15+
# https://devenv.sh/reference/options/#languagesrustchannel
16+
channel = "stable";
17+
};
1118
}

0 commit comments

Comments
 (0)