On Thu, Jan 18, 2018 at 10:35:34PM -0800, Chris Marusich wrote: > Gábor Boskovits writes: > > > + (inputs > > + `(("java-aqute-bndlib" ,java-aqute-bndlib) > > + ("java-aqute-libg" ,java-aqute-libg))) > > (arguments > > `(#:build-target "compile" > > ;; The tests require an old version of Janino, which no longer compiles > > @@ -2679,7 +2682,9 @@ archives (jar).") > > #:tests? #f > > ;; We don't need these extra ant tasks, but the build system asks us to > > ;; provide a path anyway. > > - #:make-flags (list (string-append "-Dobjectweb.ant.tasks.path=foo")) > > + #:make-flags (list (string-append "-Dobjectweb.ant.tasks.path=foo") > > + (string-append "-Dbiz.aQute.bnd.path=" > > + (assoc-ref %build-inputs "java-aqute-bndlib"))) > > Even though we added some inputs, there appear to be no retained > references in the output, as shown by this command: > > guix gc --referrers $(./pre-inst-env guix build java-asm) To check the retained references in the output [0], it's actually `guix gc --references $(./pre-inst-env guix build ...)`. [0] To clarify "retained references", they are literally occurences of strings that begin with '/gnu/store/', then a Guix hash, then a hyphen, and then a package name.