mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Make blcr module use the configured kernel
svn path=/nixos/trunk/; revision=29413
This commit is contained in:
parent
7d982fd1bd
commit
229b99321f
@ -2,15 +2,14 @@
|
||||
|
||||
let
|
||||
inherit (pkgs.lib) mkOption mkIf;
|
||||
|
||||
cfg = config.environment.blcr;
|
||||
|
||||
blcrPkg = config.boot.kernelPackages.blcr;
|
||||
kernelPkgs = config.boot.kernelPackages;
|
||||
blcrPkg = kernelPkgs.blcr;
|
||||
|
||||
insmod = "${pkgs.module_init_tools}/sbin/insmod";
|
||||
rmmod = "${pkgs.module_init_tools}/sbin/rmmod";
|
||||
|
||||
modulesDir = "${blcrPkg}/lib/modules/${pkgs.linux.version}";
|
||||
modulesDir = "${blcrPkg}/lib/modules/${kernelPkgs.kernel.version}";
|
||||
blcr_imports_ko = "${modulesDir}/blcr_imports.ko";
|
||||
blcr_ko = "${modulesDir}/blcr.ko";
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user