mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
Fix enabling switching to kernels not already running (depmod uses uname-r as default to look for modules)
svn path=/nixpkgs/branches/stdenv-updates/; revision=10572
This commit is contained in:
parent
8a3676ebf6
commit
053ea5ebe6
@ -18,7 +18,8 @@ done
|
||||
rm -rf nix-support
|
||||
cd lib/modules/
|
||||
rm */modules.*
|
||||
MODULE_DIR=$PWD/ depmod -a *
|
||||
# linux-* will pass the new kernel version to depmod to take rather than `uname -r` (see man page)
|
||||
MODULE_DIR=$PWD/ depmod -a $(basename lib/modules/2.*)
|
||||
cd $out/
|
||||
'') [minInit addInputs defEnsureDir];
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user