Nix flake/shell + direnv for working with coreboot and related projects.
Find a file
Kirin Etheridge 90aa2af07b
Update submodules
Signed-off-by: Kirin Etheridge <revelation@krxt.dev>
2024-09-16 01:31:14 +02:00
coreboot@fa5e3d9d44 Update submodules 2024-09-16 01:31:14 +02:00
edk2@73dbb68006 Update submodules 2024-09-16 01:31:14 +02:00
.envrc init 2022-09-30 12:42:35 +02:00
.gitignore Add gitignore 2023-10-14 17:04:50 +02:00
.gitmodules init 2022-09-30 12:42:35 +02:00
flake.lock Bump Python/LLVM, upd lockfile, add flashrom 2024-09-16 01:26:52 +02:00
flake.nix Bash prompt changes 2023-10-14 17:00:43 +02:00
LICENSE Create LICENSE 2023-05-28 00:00:08 +02:00
README.md Update README, submodules & shell.nix 2024-03-02 20:37:30 +01:00
shell.nix Bump Python/LLVM, upd lockfile, add flashrom 2024-09-16 01:26:52 +02:00

coreboot-nix-workspace

Nix flake/shell + direnv for working with coreboot and related projects. Minimal flake.nix that loads shell.nix with aliases and packages required for working with coreboot, ME-cleaner, and related projects.

EDK2?

EDK2 compilation is broken even with this, at least when running nix3 on openSUSE TW. Upstream still uses GCC5, which does not exist in Nixpkgs, and Ubuntu 18.04 LTS is the last version to even support it.

How to use

git clone https://github.com/kir68k/coreboot-nix-workspace

nix develop

Then git submodule update --init --checkout in the coreboot/ directory.

Included packages

As of writing, this uses llvmPackages_17.

Included packages:

  • gnat11
  • acpica-tools
  • m4
  • flex
  • binutils
  • ccache
  • texinfo
  • bison
  • pkg-config
  • zlib
  • xz
  • nasm
  • clang
  • llvm
  • libllvm
  • lld
  • ncurses
  • automake
  • autoconf
  • libuuid
  • glibc
  • gnumake
  • python311Full