unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to get the store directory of a package output?
@ 2018-11-27 20:18 Jan Nieuwenhuizen
  2018-11-27 21:07 ` Gábor Boskovits
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Nieuwenhuizen @ 2018-11-27 20:18 UTC (permalink / raw)
  To: help-guix

Hi!

Using #$icedtea-8 inside a gexp gives me the store directory of the
default icedtea's output.  Adding (string-append #$icedtea-8 "/bin")
to PATH gives me java.

How do i get to the bin directory of javac, i.e. the "jdk" output of
icedtea-8 inside a gexp?

Greetings,
janneke

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get the store directory of a package output?
  2018-11-27 20:18 How to get the store directory of a package output? Jan Nieuwenhuizen
@ 2018-11-27 21:07 ` Gábor Boskovits
  2018-11-27 21:29   ` Jan Nieuwenhuizen
  0 siblings, 1 reply; 3+ messages in thread
From: Gábor Boskovits @ 2018-11-27 21:07 UTC (permalink / raw)
  To: Jan Nieuwenhuizen; +Cc: help-guix

Hello Jan,

Jan Nieuwenhuizen <janneke@gnu.org> ezt írta (időpont: 2018. nov. 27.,
K, 21:34):
>
> Hi!
>
> Using #$icedtea-8 inside a gexp gives me the store directory of the
> default icedtea's output.  Adding (string-append #$icedtea-8 "/bin")
> to PATH gives me java.
>

You can try #$icedtea-8:jdk according to the docs. I did not test this,

> How do i get to the bin directory of javac, i.e. the "jdk" output of
> icedtea-8 inside a gexp?
>
> Greetings,
> janneke
>

g_bor

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get the store directory of a package output?
  2018-11-27 21:07 ` Gábor Boskovits
@ 2018-11-27 21:29   ` Jan Nieuwenhuizen
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Nieuwenhuizen @ 2018-11-27 21:29 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

Gábor Boskovits writes:

>> Using #$icedtea-8 inside a gexp gives me the store directory of the
>> default icedtea's output.  Adding (string-append #$icedtea-8 "/bin")
>> to PATH gives me java.
>>
>
> You can try #$icedtea-8:jdk according to the docs. I did not test this,

Yes, that works.  Now that I know the solution I also found it in the
docs: 4.6 G-Expressions.  (searching for `:out' ...).

Thank you!
janneke

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-27 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-27 20:18 How to get the store directory of a package output? Jan Nieuwenhuizen
2018-11-27 21:07 ` Gábor Boskovits
2018-11-27 21:29   ` Jan Nieuwenhuizen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).