diff options
-rw-r--r-- | util/nixshell/devshell-i386.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/util/nixshell/devshell-i386.nix b/util/nixshell/devshell-i386.nix new file mode 100644 index 0000000000..88a67dcef4 --- /dev/null +++ b/util/nixshell/devshell-i386.nix @@ -0,0 +1,29 @@ +with import <nixpkgs> {}; + +pkgs.mkShell { + name = "coreboot-devshell-i386"; + + packages = [ + cacert + gdb + git + qemu + ]; + + buildInputs = [ + ncurses + openssl + ]; + + nativeBuildInputs = [ + coreboot-toolchain.i386 + pkg-config + openssh + ]; + + shellHook = '' + # In Nix, stdenv sets a STRIP environment variable, which has conflict + # with libpayload/Makefile.payload. Unset the variable. + unset STRIP + ''; +} |