ghc: make sure the nokinds version is built with a deterministic version number

This commit is contained in:
Peter Simons 2015-08-12 08:47:06 +02:00
parent 0d52a300f6
commit 5a0f0bc0ca

View File

@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
postUnpack = '' postUnpack = ''
pushd ghc-${builtins.substring 0 7 rev} pushd ghc-${builtins.substring 0 7 rev}
echo ${version} >VERSION
echo ${rev} >GIT_COMMIT_ID
patchShebangs . patchShebangs .
./boot ./boot
popd popd