Skip to content

Instantly share code, notes, and snippets.

@evils
Last active May 10, 2020 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evils/8cd717671e5f5039b9b62f2f242653ed to your computer and use it in GitHub Desktop.
Save evils/8cd717671e5f5039b9b62f2f242653ed to your computer and use it in GitHub Desktop.
environment required to build minimal coreboot image
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
# these are not valid for Ada and the warnings emmited about this stop the compilation
hardeningDisable = [ "format" ];
nativeBuildInputs = with pkgs; [
m4 bison flex zlib
gmp libmpc mpfr isl
gnat gcc
curl git ncurses
python
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment