From d9e63424b7a81966b9fd768c37b928617f3be62f Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Tue, 15 Nov 2016 19:44:21 -0500 Subject: [PATCH] ghc-HEAD: Run boot after patches. This allows for patches affecting configure.ac to take effect --- pkgs/development/compilers/ghc/head.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index 2399a44fc0d..aec6faed585 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -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;