1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

ghc-HEAD: Run boot after patches.

This allows for patches affecting configure.ac to take effect
This commit is contained in:
Shea Levy 2016-11-15 19:44:21 -05:00
parent 4f820d44d0
commit d9e63424b7

View file

@ -27,13 +27,11 @@ in stdenv.mkDerivation (rec {
sha256 = "1ryggmz961qd0fl50rkjjvi6g9azwla2vx9310a9nzjaj5x6ib4y";
};
postUnpack = ''
pushd ghc-${builtins.substring 0 7 rev}
postPatch = ''
echo ${version} >VERSION
echo ${rev} >GIT_COMMIT_ID
patchShebangs .
./boot
popd
'';
buildInputs = commonBuildInputs;