Non-root installs.
Hey all - I tried on IRC, but was told that this might be a better place. I'm wondering if someone here has experience with a non-root install. Optimally, is there by this point a guix-install.sh for non-root? I know it's doable, eg: https://github.com/pjotrp/guix-notes/blob/master/GUIX-NO-ROOT.org I was able to get my sysadmin to create a writable /gnu, which I gather will allow me to install binaries, rather than recomplie everything, since I'll have the right path. Now that I've read the install script, I see that it also uses /var/guix. Do I need to ask for that, or is there a way around it, by putting it in /gnu/var, maybe? I assume I can put /root/.config/guix in my home directory, but I also see we need a guixbuild group. How can I get away without this and still run the server manually? All input appreciated! /D
Re: No Guile on Windows?
David Pirotte wrote: > msys2 > has guile-2.2.7-1 > well maintained > very friendly on irc Appended with fact that MSYS2 is a fork of Cygwin, which has 3.0.4, these looks like an invitation to go to IRC and inquire about issues that made them stick with the legacy branch... signature.asc Description: PGP signature
system reconfigure, Git error: the SSL certificate is invalid
Hi, In a slight variation of section 3.7 of the Guix Manual ("After System Installation"), I regularly do guix pull as a regular user (rx in my case), and then (using rx's guix command), as root: # /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm (i.e. instead of using sudo, as suggested in the manual) This combo used to work fine for me for quite a while. Now, since a few days, having done my guix pull step (as user rx), which still works fine for me (updates my guix system), I get an error when trying the above reconfigure step: root@pc ~# /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm Backtrace: In ice-9/boot-9.scm: 1731:15 19 (with-exception-handler # …) In guix/scripts/system.scm: 1286:8 18 (_) In guix/status.scm: 776:4 17 (call-with-status-report _ _) In guix/scripts/system.scm: 1125:4 16 (_) In ice-9/boot-9.scm: 1736:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 631:22 14 (thunk) 1299:8 13 (call-with-build-handler # …) 2025:24 12 (run-with-store # …) In guix/scripts/system.scm: 1145:15 11 (_ _) 783:4 10 (perform-action reconfigure #< kerne…> …) In guix/scripts/system/reconfigure.scm: 323:2 9 (check-forward-update _) In srfi/srfi-1.scm: 691:23 8 (filter-map # . #) In guix/scripts/system/reconfigure.scm: 330:37 7 (_ #< name: guix url: "https://git.savannah.gn…>) In guix/git.scm: 329:29 6 (update-cached-checkout "https://git.savannah.gnu.org/…; …) In ice-9/boot-9.scm: 1736:10 5 (with-exception-handler _ _ #:unwind? _ # _) In git/clone.scm: 46:8 4 (_ _ _ _) In git/bindings.scm: 77:2 3 (raise-git-error _) In ice-9/boot-9.scm: 1669:16 2 (raise-exception _ #:continuable? _) 1669:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Git error: the SSL certificate is invalid root@pc ~# I have no clue - and I am fairly new to guix, and yet have many thing to learn - so bear with me, please - I would prefer to make my next guix steps, however, having a working / up-to-date system. Thanks in advance. -A
Re: No Guile on Windows? (was: My Guile Hacker Handbook)
Never heard about it. I will try it and maybe update the Windows section ;-) Thank you David Jérémy Le 25 juillet 2020 05:48:35 GMT+02:00, David Pirotte a écrit : >Hello, > >> > > ### On Windows >> > > No solution yet. > >fwiw, i've used msys2 (not so much anymore, but i still would if i had >to ...), easy to install, update, well maintained, very friendly on irc >when i needed to ask for help ...: > > https://www.msys2.org/ > >it has guile-2.2.7-1, threaded (which I've used. it works ...) > > https://packages.msys2.org/base/guile > >for me, it was fantastic _not to have to deal_ with ouindoze on >ouindoze, so msys2, its numerous packages ... and guile-2.2.7-1 >'saved my life' :) > > dowload the lastest msys2 > double-click -> linux terminal > use pacman (*) to update and install new packages > >David > > ** Update > > pacman -Syu > pacman -Su > > ** Packages > > pacman -S emacs > pacman -S guile > pacman -S libguile > pacman -S libguile-devel -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
Re: Local definitions and Virtual machine image
Emmanuel Medernach writes: >> I pulled the same commit on the VM that the one obtained >> with "guix describe" but it still recompiles my local >> packages with "guix build". Did I forget something ? >> > > > I mean it does not download from my substitute server. Did you authorize the substitute server signing key? Perhaps the substitute server lacks some of the package outputs? > I have another question: How to query the output paths given an installed > package name ? guix build does it but I would like to avoid recompiling. I don't know an easy way short of 'guix build -d the-package' and inspect the derivation :-/ signature.asc Description: PGP signature
Re: No Guile on Windows? (was: My Guile Hacker Handbook)
> From: Christopher Lam > Date: Sat, 25 Jul 2020 13:56:28 + > Cc: guile-user , help-guix@gnu.org > > Gnucash 4.0 in windows is successfully using libguile-2.2-1.dll from MSYS2. Is Gnucash a MinGW build or an MSYS2 build? If the latter, it's expected.
Re: No Guile on Windows? (was: My Guile Hacker Handbook)
Gnucash 4.0 in windows is successfully using libguile-2.2-1.dll from MSYS2. On Sat, 25 Jul 2020 at 06:32, Eli Zaretskii wrote: > > Date: Sat, 25 Jul 2020 00:48:35 -0300 > > From: David Pirotte > > Cc: Dmitry Alexandrov , guile-u...@gnu.org, > help-guix@gnu.org > > > > fwiw, i've used msys2 (not so much anymore, but i still would if i had > > to ...), easy to install, update, well maintained, very friendly on irc > > when i needed to ask for help ...: > > > > https://www.msys2.org/ > > > > it has guile-2.2.7-1, threaded (which I've used. it works ...) > > AFAIU, that's not a native Windows port, that's an MSYS2 port, which > is almost the same as a Cygwin build (MSYS2 is a fork of Cygwin). > > IOW, you cannot link the MSYS2 libguile with a native MinGW program, > such as GDB or Gnu Make (or Lilypond, or any other application > mentioned in this thread). Right? > >
Re: No Guile on Windows? (was: My Guile Hacker Handbook)
> Date: Sat, 25 Jul 2020 00:48:35 -0300 > From: David Pirotte > Cc: Dmitry Alexandrov , guile-u...@gnu.org, help-guix@gnu.org > > fwiw, i've used msys2 (not so much anymore, but i still would if i had > to ...), easy to install, update, well maintained, very friendly on irc > when i needed to ask for help ...: > > https://www.msys2.org/ > > it has guile-2.2.7-1, threaded (which I've used. it works ...) AFAIU, that's not a native Windows port, that's an MSYS2 port, which is almost the same as a Cygwin build (MSYS2 is a fork of Cygwin). IOW, you cannot link the MSYS2 libguile with a native MinGW program, such as GDB or Gnu Make (or Lilypond, or any other application mentioned in this thread). Right?