diff options
author | Shea Levy <shea@shealevy.com> | 2012-07-29 04:01:40 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2012-07-29 04:01:40 -0400 |
commit | 6e3b17feece1364a341af7eb11c18b4eaa8556bb (patch) | |
tree | 3424655fd48aa4e18872d3811671a73d3480f129 /pkgs/os-specific/linux/kernel/manual-config.nix | |
parent | 4f713d27f7a58e1e5c2a7f0f138c97b76dea3979 (diff) |
linux/kernel/manual-config: Run depmod after build
Diffstat (limited to 'pkgs/os-specific/linux/kernel/manual-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/manual-config.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index b4dbb786016ce..fe9769a00ade6 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -1,4 +1,4 @@ -{ stdenv, runCommand, nettools, perl }: +{ stdenv, runCommand, nettools, perl, kmod }: { version, modDirVersion ? version, src, patches ? [], config }: @@ -62,6 +62,7 @@ stdenv.mkDerivation ({ echo "stripping FHS paths in \`$mf'..." sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g' done + sed -i -e 's|/sbin/depmod|${kmod}/sbin/depmod|' Makefile ''; configurePhase = '' |