Hey Efraim, Ludovic Courtès <l...@gnu.org> skribis:
>> + (package >> + (name "rust-ring") >> + (version "0.17.8.tar.gz") ; Hack to adjust the output name. >> + (source (origin >> (method git-fetch) >> (uri (git-reference >> (url "https://github.com/briansmith/ring") >> @@ -4147,182 +4148,185 @@ (define rust-ring-0.17-sources >> (file-name (git-file-name "rust-ring" version)) >> (sha256 >> (base32 >> "0rqfal81bf4l3dja98cajfjq2jbz1rcx7xdp2r33cxrm5y5psr28")) > > [...] > >> + (build-system trivial-build-system) >> + (arguments >> + (list >> + #:modules '((guix build utils)) >> + #:builder >> + #~(begin >> + (use-modules (guix build utils)) >> + (setenv "PATH" >> + (string-join >> + (list (assoc-ref %build-inputs "clang") ; for >> clang-format >> + (assoc-ref %build-inputs "go") >> + (assoc-ref %build-inputs "gzip") >> + (assoc-ref %build-inputs "nasm") >> + (assoc-ref %build-inputs "perl") >> + (assoc-ref %build-inputs "python-minimal") >> + (assoc-ref %build-inputs "tar")) > > You could use #+(this-package-native-input "clang"), etc. > > If it works, I’m all for it! Do you think you could submit a patch for it? Due to the amount of rebuilding, I suppose we’ll have to set up a dedicated branch. Thanks, Ludo’.