mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03: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 New Issue
Block a user