diff options
author | K900 <me@0upti.me> | 2022-10-12 18:52:38 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2022-10-12 18:52:38 +0300 |
commit | c41058468d91d2fce5835da673845ec5f2a96511 (patch) | |
tree | e5493b72241695f14b9484c2f8c758d2d87dcd5f /pkgs/applications/networking | |
parent | 4a66f421319b72adf90c79d5b9ac8b909b29a771 (diff) | |
download | nixlib-c41058468d91d2fce5835da673845ec5f2a96511.tar nixlib-c41058468d91d2fce5835da673845ec5f2a96511.tar.gz nixlib-c41058468d91d2fce5835da673845ec5f2a96511.tar.bz2 nixlib-c41058468d91d2fce5835da673845ec5f2a96511.tar.lz nixlib-c41058468d91d2fce5835da673845ec5f2a96511.tar.xz nixlib-c41058468d91d2fce5835da673845ec5f2a96511.tar.zst nixlib-c41058468d91d2fce5835da673845ec5f2a96511.zip |
n8n: fix build on aarch64
By performing an oraclectomy.
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/n8n/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix index e8b3d258c9c0..cdaf4286f93c 100644 --- a/pkgs/applications/networking/n8n/default.nix +++ b/pkgs/applications/networking/n8n/default.nix @@ -15,6 +15,15 @@ nodePackages.n8n.override { pkgs.postgresql ]; + # Oracle's official package on npm is binary only (WHY?!) and doesn't provide binaries for aarch64. + # This can supposedly be fixed by building a custom copy of the module from source, but that's way + # too much complexity for a setup no one would ever actually run. + # + # NB: If you _are_ actually running n8n on Oracle on aarch64, feel free to submit a patch. + preRebuild = lib.optionalString stdenv.isAarch64 '' + rm -rf node_modules/oracledb + ''; + dontNpmInstall = true; passthru = { |