mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +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 ..
|
||||
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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user