Re: Some general guix questions

2019-01-22 Thread Pierre Neidhardt
I realized that something was missing from the above manifest generators: the outputs. My shot at it: --8<---cut here---start->8--- (use-modules (guix profiles) (ice-9 match) (ice-9 pretty-print)) (match (command-line) ((_ where)

Re: Some general guix questions

2019-01-09 Thread George Clemmer
Ricardo Wurmus writes: > Not sure if better (because it has the same effect), but here’s a > different way to get a “manifest” from the list of installed packages. > > --8<---cut here---start->8--- > (use-modules (guix profiles) > (ice-9 match) >

Re: Some general guix questions

2019-01-09 Thread Divan Santana
Pierre Neidhardt writes: > 1. System-wide installation means packages are readily available to all users, >which can be nice, but users then don't have the freedom to remove them. >For maximal flexibility, it's often best to leave system-wide packages to > the >bare minimum and let u

Re: Some general guix questions

2019-01-09 Thread Divan Santana
George Clemmer writes: > Divan Santana writes: > >> Hi great guix community, >> >> 1. What is the recommendations around when to install a package system >>wide (via guix system reconfigure manifest.scm) vs in your user >>profile? I'm confused if i3/various X packages and other desktop

Re: Some general guix questions

2019-01-09 Thread Divan Santana
Tonton writes: > On Tue, 08 Jan 2019 18:43:06 +0200 > Divan Santana wrote: > >> 3. If I run guix system vm --fallback system.scm I get a vm I can run, >>which is really awesome. If I then do a guix pull and guix system >>vm --fallback system.scm I get /another/ VM which I can run. How

Re: Some general guix questions

2019-01-08 Thread Ricardo Wurmus
Pierre Neidhardt writes: > I think your solution is more elegant, Ricardo, because it's not robust to > change (the AWK parsing could break). > > Question: why should we run it from a Guix checkout? So that you can use “./pre-inst-env guile” which makes sure that you’re using the Guix modules

Re: Some general guix questions

2019-01-08 Thread Pierre Neidhardt
I think your solution is more elegant, Ricardo, because it's not robust to change (the AWK parsing could break). Question: why should we run it from a Guix checkout?

Re: Some general guix questions

2019-01-08 Thread Ricardo Wurmus
Hi Pierre, >My personal take at this issue is to generate the manifest from all > installed >packages with the following shell script: > > --8<---cut here---start->8--- > cat<"$PKG_ROOT/guix" > (specifications->manifest > '( > EOF > > gui

Re: Some general guix questions

2019-01-08 Thread Tonton
On Tue, 08 Jan 2019 18:43:06 +0200 Divan Santana wrote: > 3. If I run guix system vm --fallback system.scm I get a vm I can run, >which is really awesome. If I then do a guix pull and guix system >vm --fallback system.scm I get /another/ VM which I can run. How is >the previous VMs ga

Re: Some general guix questions

2019-01-08 Thread George Clemmer
Divan Santana writes: > Hi great guix community, > > 1. What is the recommendations around when to install a package system >wide (via guix system reconfigure manifest.scm) vs in your user >profile? I'm confused if i3/various X packages and other desktop >packages should be installe

Re: Some general guix questions

2019-01-08 Thread Pierre Neidhardt
1. System-wide installation means packages are readily available to all users, which can be nice, but users then don't have the freedom to remove them. For maximal flexibility, it's often best to leave system-wide packages to the bare minimum and let users choose what they want. I

Some general guix questions

2019-01-08 Thread Divan Santana
Hi great guix community, 1. What is the recommendations around when to install a package system wide (via guix system reconfigure manifest.scm) vs in your user profile? I'm confused if i3/various X packages and other desktop packages should be installed in one or the other? Or even the pr