3
0
Fork 0
forked from mirrors/nixpkgs

ejabberd: attempt to fix dependencies' determinism

This commit is contained in:
Nikolay Amiantov 2016-07-02 19:06:48 +03:00
parent ac0ba89d1e
commit 6f7bace3b8

View file

@ -54,17 +54,15 @@ in stdenv.mkDerivation rec {
GIT_SSL_CAINFO = "${cacert}/etc/ssl/certs/ca-bundle.crt";
preBuild = ''
patchShebangs .
'';
makeFlags = [ "deps" ];
phases = [ "unpackPhase" "configurePhase" "buildPhase" "installPhase" ];
installPhase = ''
for i in deps/*; do
( cd $i
git reset --hard
git clean -fdx
git clean -ffdx
git describe --always --tags > .rev
rm -rf .git
)
@ -76,7 +74,7 @@ in stdenv.mkDerivation rec {
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "0jrxd3v6p35wjrpw0jbb6m8nrm2lffhfgdcqmzcvsvjzji7nlkzx";
outputHash = "08s1j0xa65xkrqw810wzgssngs67sz722jsvj7p02v4ra8jcl31f";
};
configureFlags =