mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
linux/manual-config: Move configfile symlinking to configurePhase.
It makes more semantic sense there than in unpackPhase, as that symlink is _how_ we configure the kernel
This commit is contained in:
parent
8ce1295ad3
commit
b90b62e33b
@ -112,12 +112,12 @@ stdenv.mkDerivation {
|
||||
unpackPhase = ''
|
||||
mkdir build
|
||||
export buildRoot="$(pwd)/build"
|
||||
ln -sv ${configfile} $buildRoot/.config
|
||||
cd $sourceRoot
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
ln -sv ${configfile} $buildRoot/.config
|
||||
make $makeFlags "''${makeFlagsArray[@]}" oldconfig
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user