packages: Use the target's system Guile when downloading patches.

* guix/packages.scm (patch-and-repack)[patch-inputs]: Pass SYSTEM in
  'package-source-derivation' call.
This commit is contained in:
Ludovic Courtès 2014-12-02 16:47:00 +01:00
parent 7ce7361b76
commit ec38437f94

View file

@ -376,7 +376,7 @@ (define patch-inputs
(add-to-store store (basename patch) #t
"sha256" patch))
((? origin?)
(package-source-derivation store patch)))))
(package-source-derivation store patch system)))))
(iota (length patches))
patches))