about summary refs log tree commit diff
path: root/pkgs/applications/office/abiword
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-04-16 17:40:56 -0700
committerAdam Joseph <adam@westernsemico.com>2023-04-17 19:59:40 -0700
commit715bc56b080974f2be2bd985a0b96c95cefb3c05 (patch)
treec9a1447c899954c00525efb71080ee4bbf728bc9 /pkgs/applications/office/abiword
parent62d678778d318c6b6acdfadb0ed55925b0110b22 (diff)
abiword: fix cross
This commit adds `perl` to `nativeBuildInputs` of abiword, to avoid
the following build failure:

```
abiword-aarch64-unknown-linux-gnu> checking for perl... no
abiword-aarch64-unknown-linux-gnu> configure: error: *** perl program not found
error: build of '/nix/store/v670j4pyqk5vy625gh7w0j2jla1wrz2s-abiword-aarch64-unknown-linux-gnu-3.0.5.drv' on 'ssh://root@192.168.22.102' failed: builder for '/nix/store/v670j4pyqk5vy625gh7w0j2jla1wrz2s-abiword-aarch64-unknown-linux-gnu-3.0.5.drv' failed with exit code 1
error: builder for '/nix/store/v670j4pyqk5vy625gh7w0j2jla1wrz2s-abiword-aarch64-unknown-linux-gnu-3.0.5.drv' failed with exit code 1;
       last 10 log lines:
       > checking if aarch64-unknown-linux-gnu-g++ -std=c++11 PIC flag -fPIC -DPIC works... yes
       > checking if aarch64-unknown-linux-gnu-g++ -std=c++11 static flag -static works... no
       > checking if aarch64-unknown-linux-gnu-g++ -std=c++11 supports -c -o file.o... yes
       > checking if aarch64-unknown-linux-gnu-g++ -std=c++11 supports -c -o file.o... (cached) yes
       > checking whether the aarch64-unknown-linux-gnu-g++ -std=c++11 linker (aarch64-unknown-linux-gnu-ld) supports shared libraries... yes
       > checking dynamic linker characteristics... (cached) GNU/Linux ld.so
       > checking how to hardcode library paths into programs... immediate
       > checking whether ln -s works... yes
       > checking for perl... no
       > configure: error: *** perl program not found
       For full logs, run 'nix log /nix/store/v670j4pyqk5vy625gh7w0j2jla1wrz2s-abiword-aarch64-unknown-linux-gnu-3.0.5.drv'.
```
Diffstat (limited to 'pkgs/applications/office/abiword')
-rw-r--r--pkgs/applications/office/abiword/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/abiword/default.nix b/pkgs/applications/office/abiword/default.nix
index 954c50befc8a9..ab53692cf8064 100644
--- a/pkgs/applications/office/abiword/default.nix
+++ b/pkgs/applications/office/abiword/default.nix
@@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [
     pkg-config
     wrapGAppsHook
+    perl
   ];
 
   buildInputs = [
@@ -44,7 +45,6 @@ stdenv.mkDerivation rec {
     enchant
     wv
     libjpeg
-    perl
     boost
     libxslt
     goffice