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:
Shea Levy 2013-03-02 07:55:07 -05:00
parent 8ce1295ad3
commit b90b62e33b

View File

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