From 5167318ed1b9055d7642df95984dfcae4810e9aa Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sun, 7 Jun 2026 13:08:29 +1200 Subject: Fill in more nix files and fix issue in BusyBox nix --- nix/kernel.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'nix/kernel.nix') diff --git a/nix/kernel.nix b/nix/kernel.nix index e69de29..fdc4ac4 100644 --- a/nix/kernel.nix +++ b/nix/kernel.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchgit } + +stdenv.mkDerivation { + name = "linux-yerba"; + src = fetchgit { + url = "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"; + rev = "v7.0.7"; + hash = ""; + }; + preConfigure = '' + cp ${./linux_config} .config + ''; + buildPhase = '' + make -j$NIX_BUILD_CORES bzImage + ''; + installPhase = '' + cp arch/x86/boot/bzImage $out + '' +} -- cgit v1.2.3