From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jone Subject: Re: Right way: define, build and install Date: Wed, 02 May 2018 18:43:27 +0000 Message-ID: <87tvrphp9s.fsf@gmail.com> References: <665e70a5086c8c2c03953ff7ab254026@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDtuf-000473-8I for help-guix@gnu.org; Wed, 02 May 2018 11:43:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDtuZ-0008Dr-B0 for help-guix@gnu.org; Wed, 02 May 2018 11:43:25 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:41671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDtuZ-0008De-30 for help-guix@gnu.org; Wed, 02 May 2018 11:43:19 -0400 Received: by mail-lf0-x242.google.com with SMTP id o123-v6so21514137lfe.8 for ; Wed, 02 May 2018 08:43:18 -0700 (PDT) In-Reply-To: <665e70a5086c8c2c03953ff7ab254026@lepiller.eu> (message from Julien Lepiller on Wed, 02 May 2018 17:24:53 +0200) 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: Julien Lepiller Cc: help-guix@gnu.org But I am ashamed! :) 1. xfce4-cpugraph-plugin.scm (use-modules (ice-9 match) (srfi srfi-1) (guix gexp) (guix packages) (guix build) (guix licenses) (guix git-download) (define-public xfce4-cpugraph-plugin (package (name "xfce4-cpugraph-plugin") (version "1.0.5") (source (origin (method url-fetch) (uri (string-append "http://archive.xfce.org/src/panel-plugins/" name "/" (version-major+minor version) "/" name "-" version ".tar.bz2")) (sha256 (base32 "1izl53q95m5xm2fiq7385vb1i9nwgjizxkmgpgh33zdckb40xnl5")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("glib" ,glib) ("gtk+" ,gtk+-2) ("libxfce4util" ,libxfce4util) ("libxfce4ui" ,libxfce4ui) ("xfce4-panel" ,xfce4-panel))) (home-page "https://goodies.xfce.org/projects/panel-plugins/") (synopsis "cpugraph") (description "TEST") (license (list gpl2+ lgpl2.0+)))) ) 2. Then in terminal GUIX_PACKAGE_PATH=/home/jone/sys.cfg/build/my/ guix package -i xfce4-cpugraph-plugin ERROR: In procedure %resolve-variable: libxfce4util: unbound variable