summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--distro/base.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/distro/base.scm b/distro/base.scm
index e9f1b63ad0..c0c51ff0bc 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -1529,8 +1529,12 @@ identifier SYSTEM."
   (package (inherit linux-headers)
     (arguments `(#:implicit-inputs? #f
                  ,@(package-arguments linux-headers)))
-    (native-inputs `(("perl" ,(nixpkgs-derivation* "perl"))
-                     ,@%boot0-inputs))))
+    (native-inputs
+     (let ((perl (package-with-explicit-inputs perl
+                                               %boot0-inputs
+                                               (current-source-location))))
+       `(("perl" ,perl)
+         ,@%boot0-inputs)))))
 
 (define %boot1-inputs
   ;; 2nd stage inputs.