Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-24 Thread Vladimír Čunát
On 01/20/2013 11:46 PM, Ludovic Courtès wrote: Technically, I believe an EDSL has more to offer than a DSL with its own implementation: tooling (compiler, debugger, REPL, editor support, etc.), libraries (SRFI-1, etc.), general-purpose features (data structures, i18n, networking, etc.), and integ

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-24 Thread Ludovic Courtès
Shea Levy skribis: > On 01/23/2013 06:12 PM, Ludovic Courtès wrote: >> Shea Levy skribis: >> >>> On 01/21/2013 05:39 AM, Ludovic Courtès wrote: >> [...] >> In theory yes, because ‘import’ in the Nix language can import .drv files–a little-known feature. ;-) In practice, thou

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-23 Thread Shea Levy
On 01/23/2013 06:12 PM, Ludovic Courtès wrote: > Shea Levy skribis: > >> On 01/21/2013 05:39 AM, Ludovic Courtès wrote: > [...] > >>> In theory yes, because ‘import’ in the Nix language can import .drv >>> files–a little-known feature. ;-) >>> >>> In practice, though, it can only do that if the .

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-23 Thread Ludovic Courtès
Shea Levy skribis: > On 01/21/2013 05:39 AM, Ludovic Courtès wrote: [...] >> In theory yes, because ‘import’ in the Nix language can import .drv >> files–a little-known feature. ;-) >> >> In practice, though, it can only do that if the .drv defines an >> environment variable called ‘name’ > >

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-23 Thread Shea Levy
On 01/21/2013 05:39 AM, Ludovic Courtès wrote: > Hi, > > Florian Friesdorf skribis: > >> Ludovic Courtès writes: >>> Florian Friesdorf skribis: What are your thoughts on generating nix expressions from guix expressions for the purpose of package definition? >>> Do you mean the opposite

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-21 Thread Ludovic Courtès
Michael Raskin <7c6f4...@mail.ru> skribis: Do you mean the opposite–generating Guix expressions from Nix? >>> >>> I actually meant guix -> nix, as guix being within a full language, I >>> had gut feeling this direction might be preferable, see also below. >> >>I think conversion has the same

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-21 Thread Ludovic Courtès
Hi, Florian Friesdorf skribis: > Ludovic Courtès writes: >> Florian Friesdorf skribis: >>> What are your thoughts on generating nix expressions from guix >>> expressions for the purpose of package definition? >> >> Do you mean the opposite–generating Guix expressions from Nix? > > I actually m

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Florian Friesdorf
Florian Friesdorf writes: >> There’s also a clearer separation of concerns: for instance, >> env. vars. are not abused as arguments to the ‘derivation’ primitive. >> >>> - how exactly you reuse existing "nix*" software. You should describe >>> this. >> >> It reuses the daemon, and thus libs

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Florian Friesdorf
Ludovic Courtès writes: > Florian Friesdorf skribis: >> What are your thoughts on generating nix expressions from guix >> expressions for the purpose of package definition? > > Do you mean the opposite–generating Guix expressions from Nix? I actually meant guix -> nix, as guix being within a fu

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Ludovic Courtès
Hi Marc, Marc Weber skribis: > - why you go this way. One reason I can think of is because scheme might > be more powerful than nix language. Are there more reasons? Technically, I believe an EDSL has more to offer than a DSL with its own implementation: tooling (compiler, debugger, REPL,

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Alex Sassmannshausen
Fantastic — congratulations. I might have to reschedule my prolonged Skyrim session planned for tomorrow in light of this… ~acs Atom X writes: > l...@gnu.org (Ludovic Courtès) writes: > >> ;; Announcement. -*- scheme -*- >> >> (define guix >> (package

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Atom X
l...@gnu.org (Ludovic Courtès) writes: > ;; Announcement. -*- scheme -*- > > (define guix > (package > (name "guix") > (version "0.1") ; first alpha release > (source > (origin > (method url-fetch) >

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-20 Thread Ludovic Courtès
Hi, Florian Friesdorf skribis: > What are your thoughts on generating nix expressions from guix > expressions for the purpose of package definition? Do you mean the opposite–generating Guix expressions from Nix? If so, there’s the guix-import program, which works like this: guix-import /pat

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-19 Thread Marc Weber
Thus I'd appreciate more info about - why you go this way. One reason I can think of is because scheme might be more powerful than nix language. Are there more reasons? - in which way you're going to utilize the new "power" of scheme first applying to what problems? - how exactly you

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-19 Thread Florian Friesdorf
Ludovic Courtès writes: > ;; Announcement. -*- scheme -*- > > (define guix > (package > (name "guix") > (version "0.1") ; first alpha release > (source > (origin > (method url-fetch) > (uri "

[Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-18 Thread Ludovic Courtès
;; Announcement. -*- scheme -*- (define guix (package (name "guix") (version "0.1") ; first alpha release (source (origin (method url-fetch) (uri "ftp://alpha.gnu.org/gnu/guix/guix-0.1.tar.gz"