1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

linux/kernel/manual-config: Relink the symlink from the build directory to the source directory after the source directory is moved

This commit is contained in:
Shea Levy 2012-07-29 04:56:56 -04:00
parent f7b6f01da1
commit 46fa5ab105

View file

@ -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 = ''