nodejs: Fix build on RISC-V
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ callPackage, openssl, python3, enableNpm ? true }:
|
||||
{ callPackage, fetchpatch, openssl, python3, enableNpm ? true }:
|
||||
|
||||
let
|
||||
buildNodejs = callPackage ./nodejs.nix {
|
||||
@@ -15,5 +15,10 @@ buildNodejs {
|
||||
patches = [
|
||||
./disable-darwin-v8-system-instrumentation.patch
|
||||
./bypass-darwin-xcrun-node16.patch
|
||||
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/js-team/nodejs/-/raw/master/debian/patches/riscv/fix-ftbfs-riscv64-18-13-0.patch";
|
||||
sha256 = "sha256-1hd0oJY9aIoKkL7WHHPlcbLunF89J7J197silc2sExE=";
|
||||
})
|
||||
] ++ npmPatches;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user