From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLuvh-0005Np-Pi for guix-patches@gnu.org; Fri, 16 Jun 2017 13:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLuve-0008Li-Ke for guix-patches@gnu.org; Fri, 16 Jun 2017 13:21:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLuve-0008LX-Ev for guix-patches@gnu.org; Fri, 16 Jun 2017 13:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLuve-000080-93 for guix-patches@gnu.org; Fri, 16 Jun 2017 13:21:02 -0400 Subject: [bug#27344] [PATCH 08/12] gnu: Add ngspice. Resent-Message-ID: References: <20170612165226.1268-1-theodoros.for@openmailbox.org> <20170612165226.1268-8-theodoros.for@openmailbox.org> <20170615134534.1f832b53@scratchpost.org> From: Theodoros Foradis Message-ID: <87efujx32s.fsf@openmailbox.org> In-reply-to: <20170615134534.1f832b53@scratchpost.org> Date: Fri, 16 Jun 2017 20:20:51 +0300 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27344@debbugs.gnu.org Danny Milosavljevic writes: >> + (license:non-copyleft "file://COPYING") ; spice3 bsd-style > > This would mean the current directory of the current user on the remote host with name "COPYING". > > I think you meant file:///COPYING which refers to the file "COPYING" on localhost. > Right, fixed. >> + ((#:phases phases) >> + `(alist-cons-after 'install 'in-ng > > Please use modify-phases. > > Please name the phase so that one can know what it does... > >> + (lambda* (#:key inputs outputs #:allow-other-keys) >> + (map (lambda (lib) >> + (copy-file >> + (string-append (assoc-ref inputs "libngspice") >> + "/lib/" lib) >> + (string-append (assoc-ref outputs "out") >> + "/lib/" lib))) >> + '("libngspice.so.0" "libngspice.so")) > > Just use for-each... It was in fact a mistake to have that phase there, now I just propagate the shared library. I am waiting for whatever other corrections before I submit a v2 for the patch series with the suggested fixes. -- Theodoros Foradis