aboutsummaryrefslogtreecommitdiff
path: root/distro/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-09-12 00:07:51 +0200
committerLudovic Courtès <ludo@gnu.org>2012-09-12 00:07:51 +0200
commitfb585745adcd2935b179db1ce847318ec3724c4e (patch)
tree91bdf341cad70c9e8cd09024093e593fef098294 /distro/base.scm
parentdc0a9729dd82b4db1f82d95598ead512b29e1e3f (diff)
downloadpatches-fb585745adcd2935b179db1ce847318ec3724c4e.tar
patches-fb585745adcd2935b179db1ce847318ec3724c4e.tar.gz
distro: Use our own Perl during bootstrap.
* distro/base.scm (linux-headers-boot0): Use PERL with %BOOT0-INPUTS instead of calling out to `nixpkgs-derivation*'.
Diffstat (limited to 'distro/base.scm')
-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.