diff options
Diffstat (limited to 'linux.nix')
-rw-r--r-- | linux.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/linux.nix b/linux.nix new file mode 100644 index 0000000..4199da7 --- /dev/null +++ b/linux.nix @@ -0,0 +1,23 @@ +{ pkgs ? import <nixpkgs> {} }: + +pkgs.stdenv.mkDerivation { + name = "linux-kernel-build"; + nativeBuildInputs = with pkgs; [ + getopt + flex + bison + gcc + gnumake + bc + pkg-config + binutils + ]; + buildInputs = with pkgs; [ + elfutils + ncurses + openssl + zlib + gdb + ]; +} + |