Skip to content

Commit

Permalink
Reuse coreboot-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Honeycutt committed Oct 21, 2024
1 parent dc94df6 commit f355ec1
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,12 @@
with import <nixpkgs> { };
mkShellNoCC {
buildInputs = [
ccache
cmake
curl
flashrom
git
git-lfs
gmp
gnat12 # gcc with ada
hidapi
libossp_uuid
m4 flex bison # Generate flashmap descriptor parser
mpfr
ncurses # make menuconfig
nss
openssl
pkg-config
python3
qemu # test the image
rustup
util-linux
zlib
coreboot-toolchain.i386
libz
];
shellHook = ''
# Set variables for libraries
export LD_LIBRARY_PATH=${gmp}/lib:${mpfr}/lib:${zlib}/lib
export LD_LIBRARY_PATH=${libz}/lib
# TODO remove?
NIX_LDFLAGS="$NIX_LDFLAGS -lncurses"
Expand Down

0 comments on commit f355ec1

Please sign in to comment.