[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Right way: define, build and install

From: Jone
Subject: Re: Right way: define, build and install
Date: Wed, 02 May 2018 18:43:27 +0000

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
    (name "xfce4-cpugraph-plugin")
    (version "1.0.5")
    (source (origin
              (method url-fetch)
              (uri (string-append "";
                                  name "/" (version-major+minor version) "/"
                                  name "-" version ".tar.bz2"))
    (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)))
    (synopsis "cpugraph")
    (license (list gpl2+ lgpl2.0+))))

2. Then in terminal

GUIX_PACKAGE_PATH=/home/jone/sys.cfg/build/my/ guix package -i 

ERROR: In procedure %resolve-variable:
libxfce4util: unbound variable

reply via email to

[Prev in Thread] Current Thread [Next in Thread]