Re: https://guix.gnu.org/manual/devel/en/html_node/Source-Tree-Structure.html ... but where is it on guixSD?

2025-07-15 Thread Ludovic Courtès
Cayetano Santos writes: >>dim. 13 juil. 2025 at 02:09, lev...@riseup.net wrote: > >> I've been using guixSD on this computer for nearly a year now, but in >> attempting to do nearly anything with guix i feel very stupid and >> hopelessly frustrated because there is ALMOST information about things

Re: Introducing Guixotic, a Guix/Guile worker cooperative

2025-07-14 Thread Ludovic Courtès
Hi, Maxim Cournoyer writes: > Ludovic Courtès writes: > > [...] > >> Which makes me thing: should we have a “Commercial Support” section on >> the web site, maybe linked from <https://guix.gnu.org/en/help/>? This >> would need discussion but I’d

Re: Introducing Guixotic, a Guix/Guile worker cooperative

2025-07-10 Thread Ludovic Courtès
Hey, Long live, Guixotic! You’ve assembled a beautiful team and a lovely project! I wish you success!! Ludo’.

Re: Introducing Guixotic, a Guix/Guile worker cooperative

2025-07-10 Thread Ludovic Courtès
Hello, Edouard Klein writes: > I run guix-hosting.com which does not have enough clients to sustain me, > and because I hate myself everytime I do any form of marketing, it does > not grow. Heh. :-) (I’ve looked again at the web site and at the API you’ve developed, with the threading macro,

Re: There's some black magic going on with define-deprecated

2025-07-04 Thread Ludovic Courtès
Maxim Cournoyer writes: > Ludovic Courtès writes: [...] >> The ‘define-deprecated’ macro turns the given symbol into a macro; that >> macro raises a warning a compile time (in a way, this is similar to the >> ‘deprecated’ attribute in GCC). >> >> Since this is

Re: There's some black magic going on with define-deprecated

2025-06-24 Thread Ludovic Courtès
Hello, Edouard Klein writes: > Now run guix time-machine --channels=/tmp/first-bad.scm -- system image -t > qcow2 -e '(use-modules (beaver system)) (minimal-ovh)' > > and you'll get "In procedure struct-vtable: Wrong type argument in > position 1 (expecting struct): # dhcp-client-service-type>

Re: keepasxc-browser-icecat

2025-06-20 Thread Ludovic Courtès
Hi Mark, Mark H Weaver writes: > Ludovic Courtès writes: > >> Daniel Hatton writes: >> >>> A couple of weeks ago, the keepasxc-browser-icecat extension on my >>> Guix system lost the ability to connect to keepassxc. I'm looking for >>> advi

Re: Reproducibility of guix shell container across different host OS

2025-06-17 Thread Ludovic Courtès
Hi Timothée, Timothee Mathieu writes: > After further investigations, it seems that the problem was not from > the simulator itself but with the fact that it simulates contact which > are very sensitive to even a small difference in the input actions. I > discovered that pytorch (and maybe other

Re: guix foreign install - cannot set loopback interface flags: Operation not permitted

2025-06-16 Thread Ludovic Courtès
Simon Tournier writes: >> Perhaps you can instead get away with: >> >> sysctl kernel.apparmor_restrict_unprivileged_userns off >> >> as discussed in . >> >> I spent hours trying to come up with an AppArmor profile for ‘guix shell >> -C’ in

Re: Why does guix home need 700 MB of cache ?

2025-06-14 Thread Ludovic Courtès
Hello, Rutherther writes: > I came up with an idea on how to share the checkouts between multiple > users using bind mounts, see > . The only > downside is that users could potentially corrupt the cache for other > if they were bad actors.

Re: keepasxc-browser-icecat

2025-06-13 Thread Ludovic Courtès
André Batista writes: > You may be glad to know that some homonym of yours is highly regarded > in this community and has signed off some commits adding support for > AppArmor on Guix Systems and that it is enabled on > Guix/GNU/Linux-Libre. You may use it with any guix packages. See > commits

Re: keepasxc-browser-icecat

2025-06-13 Thread Ludovic Courtès
Hello, Jonathan Brielmaier writes: > I'm using keepassxc-browser-icecat together with firefox (from nonguix > channel). At somepoint in the past few months it stopped working. > > I got it running again when I installed both (keepassxc-browser-icecat > and firefox) via "guix install" to my user

Re: keepasxc-browser-icecat

2025-06-12 Thread Ludovic Courtès
Hi, André Batista writes: > That would exclude the last changes to keepassxc, but include those > browsers being upgraded to their latest versions. So maybe their > upgrade messed up something on the users profiles. Searching the > issue track, I've found an old issue that at first appeared to

Re: Running texmacs

2025-06-12 Thread Ludovic Courtès
Heime via writes: > Have installed texmacs with "guix install texmacs". > > But cannot run it by calling texmacs on the command line. > Does one have to reboot the system? Hi! What does ‘which texmacs’ says on the command line? It may be that you have to log out and re-log in, as ‘guix install

Re: guix foreign install - cannot set loopback interface flags: Operation not permitted

2025-06-12 Thread Ludovic Courtès
Hi Alexis, Alexis Simon writes: > But disabling the apparmor with > sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 > does work, although not ideal. Thanks for confirming. Perhaps you can instead get away with: sysctl kernel.apparmor_restrict_unprivileged_userns off as discussed

Re: keepasxc-browser-icecat

2025-06-11 Thread Ludovic Courtès
Hi André, André Batista writes: > Did it start after upgrading packages on the user profile? If so, > which was the last working commit and the first broken one? > > Did it start after a system reconfigure? Same as above. > > Which of the mozilla browsers were affected/tested? Integration in

Re: keepasxc-browser-icecat

2025-06-08 Thread Ludovic Courtès
Hi Daniel, Daniel Hatton writes: > A couple of weeks ago, the keepasxc-browser-icecat extension on my > Guix system lost the ability to connect to keepassxc. I'm looking for > advice on how to diagnose and fix what's wrong, please. FWIW, I have the exact same problem, starting two weeks ago or

Re: Reproducibility of guix shell container across different host OS

2025-05-28 Thread Ludovic Courtès
Hi, Timothee Mathieu writes: > We finally managed to prove that the problem was with avx-512 by using > qemu we can enable/disable avx-512 and do the computation with exactly > the same guix pack and recover that this gives different results. The > qemu avx-512 results match bitwise the results

Re: Reproducibility of guix shell container across different host OS

2025-05-14 Thread Ludovic Courtès
Hi Timothée, Timothee Mathieu writes: > I am not sure if I understand everything about AVX, I tried to tune > the compilation to CPU without AVX with > https://hpc.guix.info/blog/2022/01/tuning-packages-for-a-cpu-micro-architecture/ > in order to get reproducible results, but it did not work, ma

Re: I broke NetworkManager

2025-05-09 Thread Ludovic Courtès
Hi Thomas, "Thomas Ieong" writes: > I guix pulled yesterday and noticed that the build daemon could now be run > unprivileged, so I reconfigured and today I woke up and noticed that my wifi > isn't working anymore. There’s an open bug about it: https://issues.guix.gnu.org/78047 For now, the

Re: How to type special characters in a vm with marionette-type ?

2025-05-07 Thread Ludovic Courtès
Hi, Sébastien writes: > I'm trying to type specials characters (like '#','-', or '@') in a vm thru > 'marionnette-type', but > without success. > > I use the procedure in a system test, like for example : > > (marionette-type "echo '-' > result\n" marionette) ‘marionette-type’ instructs QEMU

Re: search-patches patch not found error

2025-05-07 Thread Ludovic Courtès
Hi, Alexis Simon writes: > Would anyone know reasons for a patch to not be found in a package > definition? > > I have this source: > --- > (source > (origin >(method git-fetch) >(uri (git-reference > (url "https://github.com/PalamaraLab/arg-needle-lib.git"

Re: Reproducibility of guix shell container across different host OS

2025-05-06 Thread Ludovic Courtès
Hi Timothée, Timothee Mathieu writes: > We now identified that the problem is that the results are not > reproducible, somewhere in how guix shell container is not isolated > enough for the host OS and I still don't know what is going on, what > is leaking from host OS into the container. Do yo

Re: Is it possible to have extra .scm files in a channel?

2025-04-25 Thread Ludovic Courtès
Hi, Alexis Simon writes: > I've made a channel with this file structure > > guix-tsverse/packages/* > .guix-authorizations > .guix-channel > tsverse-manifest.scm > tsverse-channels.scm > > My issue is that I get errors because the two *.scm files at the root > of this (manifest and channels that

Re: Reproducibility of guix shell container across different host OS

2025-04-24 Thread Ludovic Courtès
Hello, Timothee Mathieu writes: > An oversight, I just now fixed it and reran the experiment, fixing the > guix-science commit still gives the same discrepancy (I suspect that > even before we had the same commit because I did a guix pull recently > for all of these computers). Note that, as a

Re: problems with Guix, git and Savannah

2025-04-24 Thread Ludovic Courtès
Hello, Runciter via writes: > I'm in China. In the last 2 weeks, I've been plagued with errors 502 or This has been happening for several months now. A couple of months ago, we set up a mirror (announced on info-guix); you can fetch from it like so: guix pull --url=https://codeberg.org/guix

Re: PAM configuration for fprintd

2025-04-17 Thread Ludovic Courtès
Hi, Hilton Chain writes: > The following service is equivalent to your need: > --8<---cut here---start->8--- > (simple-service 'my-pam-service pam-root-service-type > (let ((my-pam-entry > (pam-entry >(control "sufficient") >

Re: Shepherd stalls on `herd restart nginx`

2025-04-11 Thread Ludovic Courtès
Hello Samuel, Samuel Willey via skribis: > Hello, I host my homelab on GNU Guix and it runs pretty well. I do > have a couple of issues, one being the namesake of this email. I'm not > entirely certain the /exact /logs that y'all might need to help but > here is what I think might help: We have

Re: Authenticate a channel

2024-12-28 Thread Ludovic Courtès
Hi Jérémy, Jeremy Korwin-Zmijowski skribis: > I haven't change anything with my keys since then. So I was surprised > to see `guix pull` returning : > >guix pull: erreur : could not authenticate commit >ad4cea635090b30d259dcf1cb690f07c831f6a1e: key EFBB 9626 457A C7F6 >FAED  FA70 A2E

Re: How to add the timer-trigger-action to a shepherd service?

2024-12-28 Thread Ludovic Courtès
Hi Tomas, Tomas Volf <~@wolfsden.cz> skribis: > Felix Lechner via writes: > >> Hi Tomas, >> >> On Mon, Dec 16 2024, Tomas Volf wrote: >> >>> what to put into the (actions) field >> >> Please try this: >> >>(actions >> (list (shepherd-action >>(name 'trigger) >>(do

Re: least-authority-wrapper - clone: permission not permitted

2024-12-28 Thread Ludovic Courtès
Hi Marc, Marc Coquand skribis: > After some debugging, I found that it was the namespace 'mnt that was > causing issues, the script works when I remove it. > > The error I'm getting is > > Backtrace: >5 (primitive-load "/var/lib/laminar/cfg/after") > In ice-9/eval.scm: >191:35

Re: Building a Docker image for GitLab-CI

2024-12-21 Thread Ludovic Courtès
Hi Simon! Simon Josefsson skribis: > I am happy to announce Guix container images: > > https://gitlab.com/debdistutils/guix/container/ > > They are suitable for use in GitLab pipelines. Yay! > - guix package -i fails: `guix perform-download: error: refusing to > run with elevated privileges

Re: Building a Docker image for GitLab-CI

2024-12-17 Thread Ludovic Courtès
Simon Josefsson skribis: > Yes it seems like a GitLab/docker-specific problem since I don't get the > same /etc when running the generated image locally. > > There is this interesting entry in /proc/mounts: > > https://gitlab.com/debdistutils/guix/container/-/jobs/8652014833#L343 > > overlay / ov

Re: Building a Docker image for GitLab-CI

2024-12-16 Thread Ludovic Courtès
Hi Simon, Simon Josefsson skribis: > https://gitlab.com/debdistutils/guix/container/-/blob/main/.gitlab-ci.yml Yay, great that you went this far! > It fails with networking errors just like Ludo's earlier e-mail: > > fping: icmp: unknown protocol > > What is really weird is this root directory

Re: Upgrade postgres for cuirass

2024-12-01 Thread Ludovic Courtès
Hi, Thanks for this nice writeup! Would you like to turn it into a section of the Cuirass (or Guix) manual? Gabriel Wicki skribis: > So here it is, my tiny writeup on how to upgrade postgres for cuirass > to continue working. It's actually kinda easy. > > 1. Stop and disable cuirass (to prev

Re: Unable to get rid of guix-past (and unable to pull)

2024-12-01 Thread Ludovic Courtès
Hello, Simon Tournier skribis: > On Thu, 28 Nov 2024 at 00:28, Gabriel Wicki wrote: > >> guix pull: error: aborting update of channel 'guix-past' to commit >> f99ada4123de1eadf668d34dac2d726407634549, which is not a descendant of >> 5fb77cce01f21a03b8f5a9c873067691cf09d057 > > [...] > >>

Re: 'guix build [P]' followed by 'guix install /gnu/store/[...]' vs. 'guix install [P]'

2024-11-14 Thread Ludovic Courtès
Hello! Thomas Schwinge skribis: >> The reason is that when you run: >> >> guix install gcc-toolchain >> >> ‘gcc-toolchain’ is a live package with metadata that Guix uses when it >> builds the profile, in particular data about search paths. >> >> However, when you run: >> >> guix package -i /

Re: 'guix build [P]' followed by 'guix install /gnu/store/[...]' vs. 'guix install [P]'

2024-11-09 Thread Ludovic Courtès
Hi, Thomas! Thomas Schwinge skribis: >> $ guix install -p bi >> /gnu/store/lahbqdidl3ynasd0vzxz2i0dmgh0v16i-gcc-toolchain-4.8.5 >> [...] >> >> ..., where '/gnu/store/[...]-gcc-toolchain-4.8.5' is the main ("out") >> output, which should -- per my understanding -- correspond to directly

Re: Guix home reconfigure fails with "In procedure symlink: permission denied"

2024-06-11 Thread Ludovic Courtès
Hi Tanguy, Tanguy LE CARROUR skribis: > Quoting Simon Tournier (2024-06-04 21:24:10) >> On Tue, 21 May 2024 at 11:38, Tanguy LE CARROUR wrote: >> >> >2 (primitive-load "/gnu/store/fvly06ac6y0c01r8zavc2m1zfk6?") >> [...] >> >0 (symlink "/gnu/store/676qwqy15al2zi7a5s4kb1l

Re: authenticating git checkouts

2024-06-11 Thread Ludovic Courtès
Hi Simon, Sorry for not noticing your message earlier! Simon Josefsson via skribis: > I tried to adopt this approach for the libntlm project, but failed. Oops! > x) How about introducing an enforcable file-name convention for the key > filenames? While using human readable names like 'alice.

Re: Come speak at the Guix Social meetup

2024-06-06 Thread Ludovic Courtès
Hi Steve, Steve George skribis: > We're looking for speakers - of any level - to give talks at the Guix online > meetup. We're a small, friendly group at all levels of experience. Talks can > be about anything Guix associated, for example: That’s a great initiative! It would probably make se

Re: Building a Docker image for GitLab-CI

2024-06-06 Thread Ludovic Courtès
Reza Housseini skribis: > Ludovic Courtès writes: > >> That’s nice, but unless I’m mistaken, Guix is missing from the image, >> right? >> >> My goal would be to be able to use Guix within the image, so I can have >> GitLab-CI spawn ‘guix build’ commands (

Re: Building a Docker image for GitLab-CI

2024-06-06 Thread Ludovic Courtès
Hi, Andreas Enge skribis: > Am Tue, Jun 04, 2024 at 01:29:22PM +0200 schrieb Ludovic Courtès: >> My goal would be to be able to use Guix within the image, so I can have >> GitLab-CI spawn ‘guix build’ commands (or similar). > > with a colleague we have set up such a system

Re: Building a Docker image for GitLab-CI

2024-06-04 Thread Ludovic Courtès
Hi Reza, Reza Housseini skribis: >> Has anyone succeeded in building a Docker image suitable for use in >> GitLab-CI? > > I normally do the following and it seems to work fine with our gitlab > instance: > > registry=registry.gitlab.ost.ch:45023/sciceg/teaching/eeu_mlds > archive=$(guix time-mac

Re: Building a Docker image for GitLab-CI

2024-02-15 Thread Ludovic Courtès
Hi, Efraim Flashner skribis: > In the past I used a script to install guix using the shell script and > then ran guix pull before building my package. I suppose you could use > a Debian image and run 'guix pull' first before building something. I could… but that’d be cheating. :-) Ludo’.

Building a Docker image for GitLab-CI

2024-02-13 Thread Ludovic Courtès
Hello Guix! Has anyone succeeded in building a Docker image suitable for use in GitLab-CI? I haven’t. Here’s what I tried. Initially, I built an image with ‘guix system image -t docker …’ but that doesn’t work because then the image’s “entry point” is shepherd, but shepherd never returns. Thus

Re: home-syncthing-service-type wants /root paths, yet syncthing can work

2024-01-09 Thread Ludovic Courtès
Hi, Tomas Volf <~@wolfsden.cz> skribis: > Hi, > > On 2024-01-05 15:05:38 +0100, Sébastien Lerique wrote: >> Hi Guix! And dear helpers and devs, >> >> I'm running into a weird failure of home-syncthing-service-type. >> >> Running syncthing manually from the terminal works fine (here's an example >

Re: How to find a package file from substitute servers

2024-01-09 Thread Ludovic Courtès
Hello, Pan Xie skribis: > Unfortunately, I can't find a way to do the similar thing on GuixSD. I > know there is a “guix locate” to find files from store items, but > those store items must be already present in my gnu store. There’s a plan to allow ‘guix locate’ to download a file database fro

Re: bug#56556: texlive-babel-dutch with and without texlive-hyphen-dutch: No hyphenation patterns were preloaded

2023-04-07 Thread Ludovic Courtès
Hello Josselin and all, I was just bitten by the infamous: Package babel Warning: No hyphenation patterns were preloaded for […] That’s a real issue because it makes modular TeX Live pretty much unusable for languages other than English. Josselin Poiret skribis: >> Thirdly, formats are ap

Re: Issue with 'guix shell' for Guile projects on non-Guix distros

2023-03-16 Thread Ludovic Courtès
Hello, "Thompson, David" skribis: > Here's the context: Someone wants to build guile-goblins from a Git > checkout using their non-Guix, FHS distro. However, they happen to > have Guile 3 installed to /usr via the host distro's package manager. I was going to suggest running ‘guix shell --check

Re: Is there any way to change what /bin/sh is inside `guix shell [--container]` ?

2023-03-16 Thread Ludovic Courtès
Hi Zack, "Zack Weinberg" skribis: > I'm doing experiments with using `guix shell --container` for isolated, > reproducible build environments. I've noticed that no matter how I set up > the container, `/bin/sh` points to a full-fat bash, even if the full bash > package was not included in th

Re: Grub installation and configuration

2023-03-07 Thread Ludovic Courtès
Hi Emmanuel, Emmanuel Beffara skribis: > - Install the keymaps in the EFI partition like the Grub modules, so that the > proper keymap is setup early in the boot process. [...] > - Set the terminal_output before any user input is required (and in particular > the passphrase request), for p

Re: %current-system and --system

2023-03-07 Thread Ludovic Courtès
Hi, Greg Hogan skribis: > From my x86_64 machine I am executing offload builds targeting an > aarch64 machine: > > $ guix build --system=aarch64-linux --manifest=manifest.scm > > Several packages do not build for aarch64 and need to be filtered out. > %current-target-system is #f as these are of

Re: streamlining custom package development

2023-03-07 Thread Ludovic Courtès
Hi, Przemysław Kamiński skribis: > 3. I run `guix build -L -m manifest.scm > (manifest only contains a reference to ghc-stuff.scm) > 4. I get an error which looks like this: > View build log at > '/var/log/guix/drvs/j2/wa3vw49l78m85z74x91sklqxwhx87y-ghc-hwodr-0.1.0.drv.bz2' > > so I fire up > >

Re: Wrong type argument: package-input-rewriting/spec with inferior

2023-03-07 Thread Ludovic Courtès
Hi Greg, Greg Hogan skribis: > Having failed a year ago to build the latest gcc and latest clang > together using "with-c-toolchain", Is there a bug report on this? I’m curious what might be wrong; ‘with-c-toolchain’ should be the tool of choice for this use case. [...] > On master I modify

Re: guix system image fails with: service 'swap-/swapfile' requires 'file-system-/'

2023-03-07 Thread Ludovic Courtès
Hi Martin, Sorry for the late reply. Martin Castillo skribis: [...] > /mnt/root/man.config.scm:35:14: warning: the 'target' field is > deprecated, please use 'targets' instead > guix system: warning: Consider running 'guix pull' followed by > 'guix system reconfigure' to get up-to-date packag

Re: The Guix Days! (FOSDEM 2023)

2023-01-03 Thread Ludovic Courtès
Hello, Pjotr Prins skribis: > Just a heads up: we are excited to have Guix days and the FOSDEM > devroom in Brussels Feb 2-5!! > > If you want to attend Guix days, please add to this list (the login is > a bit hidden). We can only have limited people and catering. If we run > over the max room n

Re: Drafting a Guix blog post on the FHS container

2022-12-19 Thread Ludovic Courtès
Hi Jim, Jim Newsome skribis: > Anyways just thought I'd mention that I recently learned about this > feature, and was able to use it to get a downloaded [Tor Browser > Bundle] running with: That’s another good example, thanks for sharing! It’s especially interesting because the Tor project vet

GNU Guix 1.4.0 released

2022-12-19 Thread Ludovic Courtès
We are pleased to announce the release of GNU Guix 1.4.0! This release corresponds to more than 28,000 commits over 18 months by 453 people. It adds new tools such as ‘guix shell’ for environment management and ‘guix home’, which lets you declare your home environment. It refines the user and pa

Re: Drafting a Guix blog post on the FHS container

2022-12-15 Thread Ludovic Courtès
Hello! John Kehayias skribis: > First, let's dive right into a big one: the popular VSCodium editor. This is > a freely licensed build of VS Code: > > > This comes in AppImage format. Downloading it and making it executable (with > a

GNU Guix 1.4.0rc2 available for testing!

2022-12-11 Thread Ludovic Courtès
Hello Guix! The second release candidate of the upcoming 1.4.0 release is now available for testing, fixing issues that were reported for rc1: source: https://alpha.gnu.org/gnu/guix/guix-1.4.0rc2.tar.gz binary tarball (to install on a “foreign distro”): https://alpha.gnu.org/gnu/guix

Re: Drafting a Guix blog post on the FHS container

2022-12-06 Thread Ludovic Courtès
Hello! John Kehayias skribis: > One question: what is appropriate or recommended for examples concerning > things like pre-built binaries? As an example, I had tested the FHS container > by running the Siril appimage, which has since been packaged for Guix (nice > work!). There are ones that

Re: Installing guix on a cluster

2022-12-02 Thread Ludovic Courtès
Hi Reza, Reza Housseini skribis: > I installing guix on our institutes cluster and followed the > instructions in this blog post [1]. But there are a couple of problems > I stumbled upon: > > - There is no mention how to mount the nfs shares on the nodes. I > added them to the /etc/fstab file

Re: RedShift

2022-12-02 Thread Ludovic Courtès
Hi, Raghav Gururajan skribis: > 2022-11-18 21:52:18 Service redshift has been started. > 2022-11-18 21:52:18 [redshift] `RANDR Query Version' returned error -1 > 2022-11-18 21:52:18 [redshift] Initialization of randr failed. > 2022-11-18 21:52:18 Service redshift (PID 832) exited with 1. That p

GNU Guix 1.4.0rc1 available for testing!

2022-12-01 Thread Ludovic Courtès
Hello Guix! The first release candidate of the upcoming 1.4.0 release is now available for testing: source: https://alpha.gnu.org/gnu/guix/guix-1.4.0rc1.tar.gz binary tarball (to install on a “foreign distro”): https://alpha.gnu.org/gnu/guix/guix-binary-1.4.0rc1.aarch64-linux.tar.xz

Re: warning: failed to install locale: Invalid argument

2022-11-18 Thread Ludovic Courtès
Hi, jgart skribis: > guile: warning: failed to install locale This means that data for the locale you chose is cannot be found by the C library used by Guile. Typically, one chooses locale data by setting environment variables such as ‘LC_ALL’ or ‘LANG’. In Guix, locale data is provided separ

Re: question on setting up guix.scm for project development

2022-11-18 Thread Ludovic Courtès
Hi, Andy Tai skribis: > guix.scm--- > (use-modules (guix packages) >) > > (define-public d2-0.1.4 >(package >(name "d2") >(version "0.1.4") > >... > ) > > > (define-public my-package >(package > (name "my-package") > (version "0.1") > ...

Re: RedShift

2022-11-18 Thread Ludovic Courtès
Hi, Raghav Gururajan skribis: > I'm trying to use the redshift home-service > [https://git.savannah.gnu.org/cgit/guix.git/commit/?id=39e8025d3b40a0079f75e0ce9a91b6dad6766773], > but `herd status` always show it as stopped. Unlike the 'manual' > location-provider example mentioned in the commit,

Re: Configuring nscd cache for mDNS

2022-11-18 Thread Ludovic Courtès
Hi Trevor, Trevor Vallender skribis: > I have a Docker container which advertises its name using mDNS, > e.g. hostname.local. However, when I restart the container, > Docker assigns the container a new IP (not sure why, doesn't > happen on other distros but that's probably not the point > here).

Re: How to avoid downloading qtbase:debug

2022-11-18 Thread Ludovic Courtès
Hi! kiasoc5 skribis: > =guix shell qtbase= downloads the entire debug output of qtbase even > though I didn't write down qtbase:debug. That's hundreds of megabytes > of bandwith I didn't want to use. How do I avoid downloading the debug > output? Is this a bug? Yes, it’s an unfortunate bug:

Re: Guix Home question ?

2022-10-10 Thread Ludovic Courtès
Hi, jordi skribis: > While starting to enjoy 'guix home' superpowers i created this git > repository > > https://codeberg.org/Fenix/home-config-at-mercurio > > taking care of my old laptop's config. > > I might be missing some basics here... > First question that comes to my mind is... how to

Re: Lost all my guix home application packages from channels after guix update (pull, reconfigure)

2022-10-10 Thread Ludovic Courtès
Hi, "Sebastien Rey-Coyrehourcq" skribis: > I used guix home without problem last month but with a recent guix pull, guix > system reconfigure, guix home reconfigure, all my package defined into guix > home manifest disapear !! What do you mean by “disappear”? What does this report: guix

Re: How can I step through this code?

2022-10-10 Thread Ludovic Courtès
Hi, jgart skribis: > How can I step through this code? > > (define-syntax do > (syntax-rules () > ((do ((var init step ...) ...) > (test expr ...) > command ...) > (letrec >((loop > (lambda (var ...) >(if test >(begin >

Re: Trivia question: What does the "G" in G-expressions stand for?

2022-10-03 Thread Ludovic Courtès
Ekaitz Zarraga skribis: >> Hi! >> >> jgart jg...@dismail.de skribis: >> >> > Does the G in G-Expressions stand for Guix? >> >> >> No, it stands for “G”, just like the “s” in “s-expression” stands for >> nothing (AFAIK). :-) >> >> Ludo’. > > In s-expression it doesn't stand for symbolic expre

Re: lock files

2022-10-03 Thread Ludovic Courtès
Hi, Dominic Martinez skribis: > jgart writes: > >> Does Guix have a concept of lock files? > > In Guix, instead of locking specific packages, you lock an entire Guix > installation. You can see the "lock" for your current installation with > the 'guix describe' command. Yes. To complement tha

Re: Combine locales

2022-09-26 Thread Ludovic Courtès
Hi, Fredrik Salomonsson skribis: > One thing I cannot figure out is how to setup the operating-system to > use English as the language but use Swedish for the date format. Similar > to what is described in Locale Names[0] in the libc manual. > > I.e. on my foreign distro I have /etc/locale.conf

Re: how to fix this G-exp?

2022-09-26 Thread Ludovic Courtès
Hi, zimoun skribis: > On Sat, 24 Sep 2022 at 20:40, Csepp wrote: > >> As you can see, that is an unqouted list. The fix should be pretty >> simple: just add an extra quote. Haven't tested it, but one of these >> should work: >> ``` >> (define (something) ''(42)) >> ;; or >> (quote #+(somethin

Re: Trivia question: What does the "G" in G-expressions stand for?

2022-09-26 Thread Ludovic Courtès
Hi! jgart skribis: > Does the G in G-Expressions stand for Guix? No, it stands for “G”, just like the “s” in “s-expression” stands for nothing (AFAIK). :-) Ludo’.

Re: How does a gexp relate to a derivation?

2022-09-26 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > I recommend the paper on Gexps that walks you through the alternatives > and motivates the design of Gexps: https://hal.inria.fr/hal-01580582/en The manual has a few examples to illustrate that: https://guix.gnu.org/manual/devel/en/html_node/G_002dExpressions.ht

Re: Initramfs dropbear remote crypt unlock

2022-09-26 Thread Ludovic Courtès
Hi, Nick skribis: > Is it possible in Guix to activate dropbear in initramfs to remotely unlock > fully encrypted disk (root) setup? (Like it done in Debian > dropbear-initramfs package with cryptroot-unlock command) There’s nothing to do that out of the box, but starting Dropbear from the init

Re: managing waiting patches

2022-09-05 Thread Ludovic Courtès
Hi, Nicolas Graves skribis: > Is there a requirement to help with patch reviewing? I feel I can tackle > python or rust packages unless they are weird, I need not to spend too > much time on that, but if it's just advising new beginners (I'm myself > a 9 month old Guix user but went cold turkey

Re: Enterprise Guix Hosting?

2022-09-05 Thread Ludovic Courtès
Hi Phil, Phil skribis: > Comments inline. I'm also aiming to be at the Guix 10 Year thing in > Paris - sadly only for the Friday, so happy to discuss this informally > there too! Looking forward to chatting there! [...] > Whilst I like Guix's own documentation, some developers did feedback t

Re: [EXT] Re: Enterprise Guix Hosting?

2022-09-05 Thread Ludovic Courtès
Hello! "Thompson, David" skribis: > On Wed, Aug 31, 2022 at 2:40 AM Ricardo Wurmus wrote: >> >> Another thing that seems to be missing is a way to supervise and manage >> running containers. I use a shepherd instance for this with >> container-specific actions like this: > > Hey that's a real

Renaming ‘master’ to ‘main’

2022-08-09 Thread Ludovic Courtès
Vagrant Cascadian skribis: > On 2022-08-06, Tobias Geerinckx-Rice wrote: >> On 2022-08-06 20:48, Tobias Geerinckx-Rice wrote: >>> guix pull: error: commit 39465409f0481f27d252ce25d2b02d3f5cbc6723 >>> not signed by an authorized key: >>> 2841 9AC6 5038 7440 C7E9 2FFA 2208 D209 58C1 DEB0 >> >

Re: managing waiting patches

2022-08-09 Thread Ludovic Courtès
Hello Nicolas, Thanks for your message. Patch review is overall rather slow due to a mixture of Guix being a victim of its success and (perhaps more importantly) having too few people devoting time to patch review, and too few committers committing. This was discussed recently on guix-devel and

Re: Enterprise Guix Hosting?

2022-08-09 Thread Ludovic Courtès
Hi Phil, Phil skribis: > My own experience is that whilst it doesn't require a PhD to setup Guix > for the enterprise, it is a non-trivial journey, and it does require > a fair amount of time and effort to create something that regular > developers/scientists (i.e. non-Guix converts who just wan

Re: partial guix pack?

2022-08-09 Thread Ludovic Courtès
Hi, Andy Tai skribis: > Can a guix pack be partial? By that I meant one package that is not > completely stand alone but only contains a subset of needed software, > bundled libraries. for example, one that bundles specific version of > gtk+ but not glibc? Of course such a package depends on

Re: uninstall/unmanage guix home on my foreign system

2022-08-09 Thread Ludovic Courtès
Hi jgart, jgart skribis: > How can I "uninstall" guix home or have it not manage my dotfiles or a > particular subset of dotfiles that I no longer want managed? Good question; I don’t think there’s an easy way to escape, it’s a bit of a trap. :-) What I would do is something like this (untes

Re: Garbage Collector

2022-08-09 Thread Ludovic Courtès
Hi, Felix Lechner via skribis: > On Mon, Jul 25, 2022 at 2:52 AM Gottfried wrote: >> >> The manual says that it is dangerous to use: "guix gc" >> because it can delete too much. > > I agree that 'guix gc' deletes too much, but it's probably not > dangerous. You will just see some downloads and

Re: Debugging cross-compilation dependencies

2022-08-09 Thread Ludovic Courtès
Hello! "Philip McGrath" skribis: > Much to my surprise, I discovered I can avoid the problem by changing code > for #:make-flags like this: > > ``` > #~(string-append "ZUO=" > #$(this-package-native-input "zuo") > "/bin/zuo"))

Re: Debugging cross-compilation dependencies

2022-08-09 Thread Ludovic Courtès
Hello! "Philip McGrath" skribis: > Much to my surprise, I discovered I can avoid the problem by changing code > for #:make-flags like this: > > ``` > #~(string-append "ZUO=" > #$(this-package-native-input "zuo") > "/bin/zuo"))

Ten Years of Guix: preliminary program available!

2022-07-12 Thread Ludovic Courtès
Hello! We’re excited to announce a preliminary program for the Ten Years of Guix event that will take place in Paris, France, Sept. 16th–18th! https://10years.guix.gnu.org/program/ On Friday, scientists and practitioners will talk about how they address computational reproducibility in their d

Ten Years of Guix: Call for contributions

2022-07-01 Thread Ludovic Courtès
Hello Guix! The Ten Years of Guix 🎂 event in Paris, 16–18 September, is shaping up, and you can register! https://10years.guix.gnu.org/ (There’s spam in the comment section of the registration form that we can’t fully block, but it’s functional.) We’re planning to announce the program for Fri

Re: bug#55359: How do I extend openssh-service-type ?

2022-05-26 Thread Ludovic Courtès
Hi, Oleg Pykhalov skribis: >> (service-extension openssh-service-type >>(const `(("charlie" >> ,(local-file "charlie.pub") >> #+end_quote > > […] > > Seems like extend-openssh-authorized-keys procedure does not use keys > argument. We could fi

Re: bug#55359: How do I extend openssh-service-type ?

2022-05-25 Thread Ludovic Courtès
Hi, Oleg Pykhalov skribis: > Seems like extend-openssh-authorized-keys procedure does not use keys > argument. We could fix it like: > > diff --git a/gnu/services/ssh.scm b/gnu/services/ssh.scm > index 7fbbe383e5..4bb3969b95 100644 > --- a/gnu/services/ssh.scm > +++ b/gnu/services/ssh.scm > @@ -

Re: Packaging Slurm

2022-03-18 Thread Ludovic Courtès
Hi! Jean-Christophe HAESSIG skribis: > # strace -f -E GUIX_EXECUTION_ENGINE=fakechroot -E > LD_LIBRARY_PATH=/opt/slurm/gnu/store/j417whqiy5gz2rbmlnknla3wl43jgk1z-profile/lib/ > > /opt/slurm/sbin/slurmdbd -D [...] > The program hangs from there and is inoperative. The socket to the > databa

Re: Packaging Slurm

2022-03-17 Thread Ludovic Courtès
Hello, Jean-Christophe HAESSIG skribis: > I don't really know what the implications of this would be. I continued > exploring packaging Slurm with Guix and deploying it on Debian. > I feel what i'm trying to do is slightly out of scope of Guix's intent : > I used guix pack with various options

Re: Replacing a package system-wide

2022-03-15 Thread Ludovic Courtès
Hello, Dominic Martinez skribis: > One of the things I love about Guix is how easy it is to modify > dependencies, a feature I use fairly often on individual packages > or manifests. However, I'm struggling to get a similar effect > system-wide. > > Grafts do exactly what I want, but since th

Re: Problem when packaging Avizo

2022-03-08 Thread Ludovic Courtès
Hi Pier-Hugues, Pier-Hugues Pellerin skribis: > In guix/status.scm: >645:15 4 (_ (build-log 4365 "[1/11] Generating avizo-resource…") #) >179:23 3 (update-build #< building: () downloadin…> …) > In ice-9/boot-9.scm: > 1685:16 2 (raise-exception _ #:continuable? _) > 1685:16 1 (ra

Re: Can't open a container-shell

2022-03-08 Thread Ludovic Courtès
Hi, Dominic Martinez skribis: > Is there a specific reason you included the --profile flag? I think > you'll probably get the behaviour you imagine without it. Agreed, you should drop ‘--profile’, Cássio. HTH, Ludo’.

  1   2   3   4   5   6   7   8   9   10   >