ghc-HEAD: Run boot after patches.
This allows for patches affecting configure.ac to take effect
This commit is contained in:
parent
4f820d44d0
commit
d9e63424b7
@ -27,13 +27,11 @@ in stdenv.mkDerivation (rec {
|
|||||||
sha256 = "1ryggmz961qd0fl50rkjjvi6g9azwla2vx9310a9nzjaj5x6ib4y";
|
sha256 = "1ryggmz961qd0fl50rkjjvi6g9azwla2vx9310a9nzjaj5x6ib4y";
|
||||||
};
|
};
|
||||||
|
|
||||||
postUnpack = ''
|
postPatch = ''
|
||||||
pushd ghc-${builtins.substring 0 7 rev}
|
|
||||||
echo ${version} >VERSION
|
echo ${version} >VERSION
|
||||||
echo ${rev} >GIT_COMMIT_ID
|
echo ${rev} >GIT_COMMIT_ID
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
./boot
|
./boot
|
||||||
popd
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = commonBuildInputs;
|
buildInputs = commonBuildInputs;
|
||||||
|
Loading…
Reference in New Issue
Block a user