summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-11-06 10:18:11 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-11-06 10:18:11 +0200
commitaf4f71318a56fd3b42910923cbf7cff71be59b38 (patch)
treebc3c3206feeafb79404d104c44fc026d33d48231 /gnu/packages/perl.scm
parent937d2a907bb842d0dae3b2c856b7852ac8056ffd (diff)
downloadguix-af4f71318a56fd3b42910923cbf7cff71be59b38.tar.gz
gnu: perl: Only add coreutils-minimal when cross-building.
* gnu/packages/perl.scm (perl)[inputs]: Only add coreutils-minimal when
cross-building.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index dea2e138cb..20c927c7c4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -231,10 +231,9 @@
                                              "/lib',\n"))))
                          config2)))))))
     (inputs
-     (append (list coreutils-minimal)
-             (if (%current-target-system)
-                 (list bash-minimal)
-                 '())))
+     (if (%current-target-system)
+       (list bash-minimal coreutils-minimal)
+       '()))
     (native-inputs
      (if (%current-target-system)
          `(("perl-cross"