mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
kmod: 22 -> 23, add /lib/modules to module directories
This commit is contained in:
parent
821e5c95b4
commit
2abe917f18
@ -1,12 +1,12 @@
|
||||
{ stdenv, lib, fetchurl, autoreconfHook, xz, zlib, pkgconfig, libxslt }:
|
||||
|
||||
let
|
||||
systems = [ "current-system" "booted-system" ];
|
||||
modulesDirs = lib.concatMapStringsSep ":" (x: "/run/${x}/kernel-modules/lib/modules") systems;
|
||||
systems = [ "/run/current-system/kernel-modules" "/run/booted-system/kernel-modules" "" ];
|
||||
modulesDirs = lib.concatMapStringsSep ":" (x: "${x}/lib/modules") systems;
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "kmod-${version}";
|
||||
version = "22";
|
||||
version = "23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/utils/kernel/kmod/${name}.tar.xz";
|
||||
|
Loading…
Reference in New Issue
Block a user