mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
Merge pull request #335621 from natsukium/textlint/aarch64-linux
textlint: fix build on aarch64-linux
This commit is contained in:
commit
3b20755e72
@ -1,10 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
autoconf,
|
||||
automake,
|
||||
makeWrapper,
|
||||
python311,
|
||||
runCommand,
|
||||
textlint,
|
||||
textlint-plugin-latex2e,
|
||||
@ -44,10 +46,16 @@ buildNpmPackage rec {
|
||||
|
||||
npmDepsHash = "sha256-FnDKPLhf9OxwRrrBJgejp4X13FGEI317yTgI3tA5cX8=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
];
|
||||
nativeBuildInputs =
|
||||
[
|
||||
autoconf
|
||||
automake
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
|
||||
# File "/build/source/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
|
||||
# npm error ModuleNotFoundError: No module named 'distutils'
|
||||
python311
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
Loading…
Reference in New Issue
Block a user