aboutsummaryrefslogtreecommitdiff
path: root/nix/kernel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/kernel.nix')
-rw-r--r--nix/kernel.nix20
1 files changed, 0 insertions, 20 deletions
diff --git a/nix/kernel.nix b/nix/kernel.nix
deleted file mode 100644
index 9d659f9..0000000
--- a/nix/kernel.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ stdenv, fetchurl, linuxKernel }:
-
-stdenv.mkDerivation {
- name = "linux-yerba";
- src = fetchurl {
- url = "https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.0.11.tar.xz";
- hash = "sha256-5WyDVt2gETamBBxu+DK9Dsmb0tNd/5eDKqXsEO0BQwQ=";
- };
- buildInputs = linuxKernel.kernels.linux_7_0.buildInputs;
- nativeBuildInputs = linuxKernel.kernels.linux_7_0.nativeBuildInputs;
- preConfigure = ''
- cp ${./linux_config} .config
- '';
- buildPhase = ''
- make -j$NIX_BUILD_CORES bzImage
- '';
- installPhase = ''
- cp arch/x86/boot/bzImage $out
- '';
-}