From 081ac25dc67183443a1c25a473090b491aff703f Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 16 Aug 2016 02:42:03 +0300 Subject: [PATCH] kmod: 22 -> 23, add /lib/modules to module directories --- pkgs/os-specific/linux/kmod/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/kmod/default.nix b/pkgs/os-specific/linux/kmod/default.nix index 58b0b9883512..322df73e404f 100644 --- a/pkgs/os-specific/linux/kmod/default.nix +++ b/pkgs/os-specific/linux/kmod/default.nix @@ -1,16 +1,16 @@ { 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"; - sha256 = "10lzfkmnpq6a43a3gkx7x633njh216w0bjwz31rv8a1jlgg1sfxs"; + sha256 = "0mc12sx06p8il1ym3hdmgxxb37apn9yv7xij26gddjdfkx8xa0yk"; }; nativeBuildInputs = [ autoreconfHook pkgconfig libxslt ];