mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nodejs: fix simdutf build on darwin
This commit is contained in:
parent
2ebf37ab0d
commit
a9080d5fcf
1 changed files with 18 additions and 10 deletions
|
|
@ -23,16 +23,24 @@
|
|||
simdjson,
|
||||
simdutf,
|
||||
simdutf_6 ? (
|
||||
simdutf.overrideAttrs {
|
||||
version = "6.5.0";
|
||||
simdutf.overrideAttrs (
|
||||
{
|
||||
version = "6.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "simdutf";
|
||||
repo = "simdutf";
|
||||
rev = "v6.5.0";
|
||||
hash = "sha256-bZ4r62GMz2Dkd3fKTJhelitaA8jUBaDjG6jOysEg8Nk=";
|
||||
};
|
||||
}
|
||||
src = fetchFromGitHub {
|
||||
owner = "simdutf";
|
||||
repo = "simdutf";
|
||||
rev = "v6.5.0";
|
||||
hash = "sha256-bZ4r62GMz2Dkd3fKTJhelitaA8jUBaDjG6jOysEg8Nk=";
|
||||
};
|
||||
}
|
||||
// (lib.optionalAttrs stdenv.buildPlatform.isDarwin {
|
||||
# Fix build on darwin
|
||||
postPatch = ''
|
||||
substituteInPlace tools/CMakeLists.txt --replace-fail '-Wl,--gc-sections' ""
|
||||
'';
|
||||
})
|
||||
)
|
||||
),
|
||||
sqlite,
|
||||
temporal_capi,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue