aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-07 14:33:41 +1200
committerArslaan Pathan <[email protected]>2026-06-07 14:33:41 +1200
commitf0098255eb9e5418be84d9852d780ccd46f263b9 (patch)
tree0e7c37c4b2c48c144f7a070b209ce6df3b508e5d /nix
parentc7229765bafe73a5461b84ac7feb541b5e9c586b (diff)
downloadyerbalinux-f0098255eb9e5418be84d9852d780ccd46f263b9.tar.xz
yerbalinux-f0098255eb9e5418be84d9852d780ccd46f263b9.zip
Use tarball because git is being annoying
Diffstat (limited to 'nix')
-rw-r--r--nix/kernel.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/nix/kernel.nix b/nix/kernel.nix
index 8656e4e..347e46d 100644
--- a/nix/kernel.nix
+++ b/nix/kernel.nix
@@ -1,11 +1,10 @@
-{ stdenv, fetchgit }:
+{ stdenv, fetchurl, flex, bison }:
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 = "";
+ src = fetchurl {
+ url = "https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.0.11.tar.xz";
+ hash = "sha256-5WyDVt2gETamBBxu+DK9Dsmb0tNd/5eDKqXsEO0BQwQ=";
};
preConfigure = ''
cp ${./linux_config} .config