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 = ''
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user