Re: Reproducible profiles

2015-05-22 Thread 宋文武
David Thompson writes: > 宋文武 writes: > >> +1 for return 'manifest', in a same way as 'operating-system'. >> And how about use specification instead of package, so I can: >> >> (manifest >> (map package-specification->manifest-entry >> '("emacs" >>"font-adobe-source-han

Re: Reproducible profiles

2015-05-20 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> Below is a new patch set taking into account the feedback received thus >> far. The (guix profiles) module still needs to be documented in the >> manual, but there's quite a lot of procedures and variables to account >> for. Would anyone b

Re: Reproducible profiles

2015-05-20 Thread Ludovic Courtès
David Thompson skribis: > Below is a new patch set taking into account the feedback received thus > far. The (guix profiles) module still needs to be documented in the > manual, but there's quite a lot of procedures and variables to account > for. Would anyone be intertested in helping with thi

Re: Reproducible profiles

2015-05-18 Thread David Thompson
Below is a new patch set taking into account the feedback received thus far. The (guix profiles) module still needs to be documented in the manual, but there's quite a lot of procedures and variables to account for. Would anyone be intertested in helping with this part? >From d506ad1d8824cc69436

Re: Reproducible profiles

2015-05-18 Thread Ludovic Courtès
David Thompson skribis: > Ludovic Courtès writes: > >> We’ll need documentation and tests, too. :-) > > Regarding tests, where should I add them? I can see that > tests/guix-package.sh uses the '-n' flag to avoid building things. > Simply running 'guix package -n --apply=test-manifest.scm' and

Re: Reproducible profiles

2015-05-18 Thread David Thompson
Ludovic Courtès writes: > We’ll need documentation and tests, too. :-) Regarding tests, where should I add them? I can see that tests/guix-package.sh uses the '-n' flag to avoid building things. Simply running 'guix package -n --apply=test-manifest.scm' and getting a 0 exit value would suffice

Re: Reproducible profiles

2015-05-17 Thread David Thompson
Ludovic Courtès writes: > (FWIW I’m not fond of the `(,gcc-toolchain "debug") notation that we > also use in packages, but it has the advantage of being concise.) Do you have plans to introduce a better notation? G-exps? -- David Thompson GPG Key: 0FF1D807

Re: Reproducible profiles

2015-05-17 Thread Ludovic Courtès
David Thompson skribis: > Ludovic Courtès writes: [...] >> What about instead requiring people to return a manifest: >> >> (use-modules (guix profiles)) >> (use-package-modules base emacs guile) >> >> (manifest (cons (package->manifest-entry gcc-toolchain "debug") >> (m

Re: Reproducible profiles

2015-05-17 Thread David Thompson
宋文武 writes: > +1 for return 'manifest', in a same way as 'operating-system'. > And how about use specification instead of package, so I can: > > (manifest > (map package-specification->manifest-entry > '("emacs" >"font-adobe-source-han-sans:cn"))) I don't like that ide

Re: Reproducible profiles

2015-05-17 Thread David Thompson
Ludovic Courtès writes: > David Thompson skribis: > >> Lately I've been wanting to version control the list of packages that I >> install in my user profile so that I can sync it amongst many machines. >> So, I took a stab at adding a new '--apply' option to 'guix package' >> that reads in a pac

Re: Reproducible profiles

2015-05-16 Thread Ludovic Courtès
宋文武 skribis: > And how about use specification instead of package, so I can: > > (manifest > (map package-specification->manifest-entry > '("emacs" >"font-adobe-source-han-sans:cn"))) Sure, with: (use-modules (gnu) (guix profiles)) (define package-specification->

Re: Reproducible profiles

2015-05-16 Thread 宋文武
Ludovic Courtès writes: > David Thompson skribis: > >> Lately I've been wanting to version control the list of packages that I >> install in my user profile so that I can sync it amongst many machines. >> So, I took a stab at adding a new '--apply' option to 'guix package' >> that reads in a pac

Re: Reproducible profiles

2015-05-16 Thread Ludovic Courtès
David Thompson skribis: > Lately I've been wanting to version control the list of packages that I > install in my user profile so that I can sync it amongst many machines. > So, I took a stab at adding a new '--apply' option to 'guix package' > that reads in a package list from a Scheme file and

Reproducible profiles

2015-05-14 Thread David Thompson
Hey folks, Lately I've been wanting to version control the list of packages that I install in my user profile so that I can sync it amongst many machines. So, I took a stab at adding a new '--apply' option to 'guix package' that reads in a package list from a Scheme file and creates a new generati