Skip to content

Commit bb393c7

Browse files
committed
nix: make OVMF environment variables optional
Since rust-osdev#798 they are not required anymore to enable "cargo xtask run"
1 parent 6daf78e commit bb393c7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

shell.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ pkgs.mkShell rec {
1212
];
1313

1414
# Set ENV vars.
15-
# These are automatically the right files for the current CPU (if available).
16-
# https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/applications/virtualization/OVMF/default.nix#L80
17-
OVMF_CODE="${pkgs.OVMF.firmware}";
18-
OVMF_VARS="${pkgs.OVMF.variables}";
15+
# OVMF_CODE="${pkgs.OVMF.firmware}";
16+
# OVMF_VARS="${pkgs.OVMF.variables}";
1917
}

0 commit comments

Comments
 (0)