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*'.
This commit is contained in:
Ludovic Courtès 2012-09-12 00:07:51 +02:00
parent dc0a9729dd
commit fb585745ad
1 changed files with 6 additions and 2 deletions

View File

@ -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.