forked from mirrors/nixpkgs
ghc: make sure the HEAD version is built with a deterministic version number
This commit is contained in:
parent
230a448fe6
commit
eb5f4d3d36
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue