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:
parent
4f820d44d0
commit
d9e63424b7
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue