bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60947: Two different derivations for ‘guix’ depending on whether gra


From: Ludovic Courtès
Subject: bug#60947: Two different derivations for ‘guix’ depending on whether grafts are enabled
Date: Mon, 30 Jan 2023 17:19:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Ludovic Courtès <ludo@gnu.org> skribis:

> --- #<buffer amy6awkzzb8spv8i5ns4m5izypjd0nhx-ruby-nokogiri-1.13.10-builder>
> +++ #<buffer hiqgagwa3i407nyx3yndzlah835j8rgi-ruby-nokogiri-1.13.10-builder>
> @@ -45,7 +45,7 @@
>        (assoc-ref %outputs "out"))
>      (ruby-build #:name "ruby-nokogiri-1.13.10" #:source 
> "/gnu/store/82giwp6r123kky2fg6a0bkx7dyh0vp2h-nokogiri-1.13.10.gem" #:system 
> "x86_64-linux" #:gem-flags
>               (list "--" "--use-system-libraries"
> -                   (string-append "--with-xml2-include=" 
> "/gnu/store/g3y6ifhm0751vgsxv90yipfw6mk189kj-libxml2-2.9.12" 
> "/include/libxml2"))
> +                   (string-append "--with-xml2-include=" 
> "/gnu/store/7h3rl7awha559jj0r7ba66njh27sb8pq-libxml2-2.9.12" 
> "/include/libxml2"))
>               #:test-target "test" #:tests? #f #:phases
>               (modify-phases %standard-phases
>                 (add-after

To be clear, what we have in source here is:

--8<---------------cut here---------------start------------->8---
(define-public ruby-nokogiri
  (package
    ;; …
    (arguments
     (list
      #:tests? #f
      #:gem-flags #~(list "--" "--use-system-libraries"
                          (string-append "--with-xml2-include="
                                         #$(this-package-input "libxml2")
                                         "/include/libxml2" ))))
    ;; …
    (license license:expat)))
--8<---------------cut here---------------end--------------->8---

… and it’s the #$(this-package-input "libxml2") bit that causes that
discrepancy.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]