summaryrefslogtreecommitdiff
path: root/util/nixshell/devshell-i386.nix
blob: 88a67dcef4fcfde8106912430d9b8f9d24787d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
	'';
}