diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-07 13:08:29 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-07 13:08:29 +1200 |
| commit | 5167318ed1b9055d7642df95984dfcae4810e9aa (patch) | |
| tree | 84f3fac167b02c355fbd9bd20965190e480d245c /nix/kernel.nix | |
| parent | 29e65a8c438cd65b944773ab3b6ba1601a5b220a (diff) | |
| download | yerbalinux-5167318ed1b9055d7642df95984dfcae4810e9aa.tar.xz yerbalinux-5167318ed1b9055d7642df95984dfcae4810e9aa.zip | |
Fill in more nix files and fix issue in BusyBox nix
Diffstat (limited to 'nix/kernel.nix')
| -rw-r--r-- | nix/kernel.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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 + '' +} |
