mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
aggregateModules: Restrict pathsToLink
It's not *entirely* clear if `depmod.d` is actually something we want here, but it has always been possible for module packages to add files to this, and conceptually it makes at least *some* sense, so let's leave it.
This commit is contained in:
@@ -11,6 +11,11 @@ buildEnv {
|
||||
|
||||
paths = modules;
|
||||
|
||||
pathsToLink = [
|
||||
"/lib/modules"
|
||||
"/etc/depmod.d"
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
source ${stdenvNoCC}/setup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user