diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-07 01:37:59 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-07 11:37:52 +0200 |
commit | be39a0bd06ba0dabab691ef6da6db4162cce1d0c (patch) | |
tree | 2c88a5a1f1d37a87899e04a78118aa13e88bda63 /linux.nix | |
download | linux-development-workflow-master.tar.gz linux-development-workflow-master.tar.bz2 linux-development-workflow-master.zip |
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 + ]; +} + |