From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: root certificate Date: Wed, 13 Jun 2018 17:28:20 -0400 Message-ID: <878t7iv0jv.fsf@netris.org> References: <87y3flo3rc.fsf@santanas.co.za> <87d0wuv0nv.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTDKm-0003mC-VJ for help-guix@gnu.org; Wed, 13 Jun 2018 17:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTDKi-00042i-Vo for help-guix@gnu.org; Wed, 13 Jun 2018 17:29:40 -0400 Received: from world.peace.net ([64.112.178.59]:36632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fTDKi-000426-Rv for help-guix@gnu.org; Wed, 13 Jun 2018 17:29:36 -0400 In-Reply-To: <87d0wuv0nv.fsf@netris.org> (Mark H. Weaver's message of "Wed, 13 Jun 2018 17:25:56 -0400") 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: Divan Santana Cc: help-guix@gnu.org Mark H Weaver writes: > Something like this (untested): > > (define-public my-root-cert > (package > (name "my-root-cert") > (version "0") > (source #f) > (build-system trivial-build-system) > (arguments > '(#:modules ((guix build utils)) > #:builder > (begin > (use-modules (guix build utils)) > (let ((root (assoc-ref %build-inputs "my-root-cert.pem")) Sorry, that 'root' in the line above should be 'cert'. Mark