From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Woodcox Subject: Having a problem invoking curl only when using guix pull Date: Tue, 14 May 2019 16:23:07 -0600 Message-ID: <3483615C-9CB3-4184-B1F4-A4D19542FCA5@inskydata.com> Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQfpm-0002tn-8V for help-guix@gnu.org; Tue, 14 May 2019 18:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQfpl-0001cr-Df for help-guix@gnu.org; Tue, 14 May 2019 18:23:42 -0400 Received: from mail.inskydata.com ([184.68.229.6]:16005 helo=server.inskydata.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQfpl-0001QT-7U for help-guix@gnu.org; Tue, 14 May 2019 18:23:41 -0400 Received: from [192.168.19.76] (unknown [192.168.19.76]) by server.inskydata.com (Postfix) with ESMTPSA id F2402495BD3A for ; Tue, 14 May 2019 16:23:08 -0600 (MDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi, I=E2=80=99m 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-handle (cdr (hash-get-handle (cdr = (hash-get-handle queryResults "commit")) "author")) "date")))) (display "Contacting github for commit date...\n") (close-pipe out) date))) This code sits above my package code and I use it to dynamically = populate my some values when building my package. Everything works great and I can install the package locally without any = problems. My issue occurs if I try to issue a guix pull to bring this in through a = separate channel. When I do that I always get /gnu/store/=E2=80=A6-bash-minimal-4.4.23/bin/b= ash: curl: command not found. Any help would be greatly appreciated. Thanks.