aboutsummaryrefslogtreecommitdiff
path: root/nix/kernel.nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-11 19:25:19 +1200
committerArslaan Pathan <[email protected]>2026-06-11 19:25:19 +1200
commit673f2563e48a4e1e37af6985d4d18f56bff741ea (patch)
tree7b3aadf32be6f18de9ddf617605352ea78486323 /nix/kernel.nix
parent3b00ff6e47d219276459fdb66e8497b0d3cd5249 (diff)
downloadyerbalinux-673f2563e48a4e1e37af6985d4d18f56bff741ea.tar.xz
yerbalinux-673f2563e48a4e1e37af6985d4d18f56bff741ea.zip
Another clean slate. I cannot continue to fight Nix and try to make it do what it was never meant to do.
Yocto time!
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
- '';
-}