Merge pull request #149244 from Artturin/kmodpathpriority
kmod: switch the priority of module dirs
This commit is contained in:
commit
57013fb257
@ -4,7 +4,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
systems = [ "/run/current-system/kernel-modules" "/run/booted-system/kernel-modules" "" ];
|
||||
systems = [ "/run/booted-system/kernel-modules" "/run/current-system/kernel-modules" "" ];
|
||||
modulesDirs = lib.concatMapStringsSep ":" (x: "${x}/lib/modules") systems;
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
@ -52,5 +52,6 @@ in stdenv.mkDerivation rec {
|
||||
changelog = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/plain/NEWS?h=v${version}";
|
||||
license = with licenses; [ lgpl21Plus gpl2Plus ]; # GPLv2+ for tools
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ artturin ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user