diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/kernel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/kernel.nix b/nix/kernel.nix index d207abd..ea87821 100644 --- a/nix/kernel.nix +++ b/nix/kernel.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, flex, bison, ncurses, elfutils, bc, cpio, rsync, gmp, libmpc, mpfr, zlib, python3, gnutar, gzip, patch, xz, which, gcc, perl }: +{ stdenv, fetchurl, linuxKernel }: stdenv.mkDerivation { name = "linux-yerba"; @@ -6,7 +6,7 @@ stdenv.mkDerivation { url = "https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.0.11.tar.xz"; hash = "sha256-5WyDVt2gETamBBxu+DK9Dsmb0tNd/5eDKqXsEO0BQwQ="; }; - buildInputs = [ flex bison ncurses elfutils bc cpio rsync gmp libmpc mpfr zlib python3 gnutar gzip patch xz which gcc perl ]; + buildInputs = linuxKernel.kernels.linux_7_0.buildInputs; preConfigure = '' cp ${./linux_config} .config ''; |
