John,
John Soo wrote:
Others may correct me if I’m wrong here, but during the build
phase, network io is off limits. This is since there is not way
to reliably guarantee the contents of things gotten over the
network remain unchanged between builds, and so would break the
immutability guarant
> On May 16, 2019, at 6:21 PM, John Soo wrote:
>
> Hi Brian,
>
> Others may correct me if I’m wrong here, but during the build phase, network
> io is off limits. This is since there is not way to reliably guarantee the
> contents of things gotten over the network remain unchanged between bui
Hi Brian,
Others may correct me if I’m wrong here, but during the build phase, network io
is off limits. This is since there is not way to reliably guarantee the
contents of things gotten over the network remain unchanged between builds, and
so would break the immutability guarantees of the pac
> Perhaps all you need is to include the curl package in your package's
> native-inputs field.
>
> Also as a side note, I'm not entirely sure if using open-input-pipe would be
> considered good practice for packages as far as reproducibility is concerned.
> Perhaps someone else can comment on that
>
> Hi,
>
> I’m having problems with a piece of code.
>
> ;; Retrieve git commit date
> (define get-commit-date (lambda _
> (let* ((out (open-input-pipe (format #f "curl --silent '~a'" %api-url)))
> (str (get-string-all out))
> (queryResults (json-string->scm str))
> (da
Perhaps all you need is to include the curl package in your package's
native-inputs field.
Also as a side note, I'm not entirely sure if using open-input-pipe would be
considered good practice for packages as far as reproducibility is concerned.
Perhaps someone else can comment on that.
But anothe
Hi,
I’m having problems with a piece of code.
;; Retrieve git commit date
(define get-commit-date (lambda _
(let* ((out (open-input-pipe (format #f "curl --silent '~a'" %api-url)))
(str (get-string-all out))
(queryResults (json-string->scm str))
(date (cdr (hash-get-h