3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Peter Simons 2015-08-09 16:28:12 +02:00
parent 230a448fe6
commit eb5f4d3d36

View file

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