about summary refs log tree commit diff
path: root/linux.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-07 01:37:59 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-07 11:37:52 +0200
commitbe39a0bd06ba0dabab691ef6da6db4162cce1d0c (patch)
tree2c88a5a1f1d37a87899e04a78118aa13e88bda63 /linux.nix
downloadlinux-development-workflow-master.tar.gz
linux-development-workflow-master.tar.bz2
linux-development-workflow-master.zip
Initial commit HEAD master
Diffstat (limited to 'linux.nix')
-rw-r--r--linux.nix23
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
+  ];
+}
+