mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
jemalloc: keep VERSION in header file (#395689)
This commit is contained in:
@@ -60,6 +60,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags =
|
||||
[
|
||||
"--with-version=${version}-0-g0000000000000000000000000000000000000000"
|
||||
"--with-lg-vaddr=${with stdenv.hostPlatform; toString (if isILP32 then 32 else parsed.cpu.bits)}"
|
||||
]
|
||||
# see the comment on stripPrefix
|
||||
@@ -85,6 +86,11 @@ stdenv.mkDerivation rec {
|
||||
# Tries to link test binaries binaries dynamically and fails
|
||||
doCheck = !stdenv.hostPlatform.isStatic;
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
! grep missing_version_try_git_fetch_tags $out/include/jemalloc/jemalloc.h
|
||||
'';
|
||||
|
||||
# Parallel builds break reproducibility.
|
||||
enableParallelBuilding = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user