diff options
author | Shea Levy <shea@shealevy.com> | 2012-07-29 04:56:56 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2012-07-29 04:56:56 -0400 |
commit | 46fa5ab105937b44098bc4c4403a62e9cf4dd950 (patch) | |
tree | bb1f2d981d7588989a87c1a5ba930cc7b6f0305b /pkgs/os-specific/linux/kernel/manual-config.nix | |
parent | f7b6f01da1362931d5c58ec1fd78922966b3e2d4 (diff) |
linux/kernel/manual-config: Relink the symlink from the build directory to the source directory after the source directory is moved
Diffstat (limited to 'pkgs/os-specific/linux/kernel/manual-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/manual-config.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 59fb1a6cd4c80..5aee2c194b63e 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -113,6 +113,8 @@ stdenv.mkDerivation ({ cd .. mv $sourceRoot $out/lib/modules/${modDirVersion}/source mv build $out/lib/modules/${modDirVersion}/build + unlink $out/lib/modules/${modDirVersion}/build/source + ln -sv $out/lib/modules/${modDirVersion}/{,build/}source ''; postFixup = '' |