mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +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:
parent
f7b6f01da1
commit
46fa5ab105
@ -113,6 +113,8 @@ stdenv.mkDerivation ({
|
|||||||
cd ..
|
cd ..
|
||||||
mv $sourceRoot $out/lib/modules/${modDirVersion}/source
|
mv $sourceRoot $out/lib/modules/${modDirVersion}/source
|
||||||
mv build $out/lib/modules/${modDirVersion}/build
|
mv build $out/lib/modules/${modDirVersion}/build
|
||||||
|
unlink $out/lib/modules/${modDirVersion}/build/source
|
||||||
|
ln -sv $out/lib/modules/${modDirVersion}/{,build/}source
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user