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

2025-07-12 Thread Julien Lepiller
Hi, I think the page you are referercing is meant for developpers or people who want to contribute to guix. It is part of the "Contributing" section after all. If you go back a few chapters, you'll find the information you need:

Re: OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 3 - comparison with guile)

2025-01-01 Thread Julien Lepiller
crit : >On 31.12.24 15:57, Julien Lepiller wrote: >> I tried and after adding ocaml-findlib in the shell, I was able to build >> with: >> >> ocamlfind ocamlc -package zarith -linkpkg -o main main.ml >> >> I don't use ocaml often but it looks like how you n

Re: OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 3 - comparison with guile)

2024-12-31 Thread Julien Lepiller
I tried and after adding ocaml-findlib in the shell, I was able to build with: ocamlfind ocamlc -package zarith -linkpkg -o main main.ml I don't use ocaml often but it looks like how you need to specify the libraries to gcc with -I and -l. I don't know how it would work with ocamlc alone. Does

Re: OCaml package `ocaml-zarith` not working / Guix installed `ocamlc` not picking up installed libraries (addendum 1)

2024-12-30 Thread Julien Lepiller
That might be a mismatch between ocaml (latest version is ocaml 5) and tge libraries which are currently built with ocaml4. If you try the same with ocaml@4, does it work? Le 30 décembre 2024 18:53:06 GMT+01:00, Zelphir Kaltstahl a écrit : >On 30.12.24 18:50, Zelphir Kaltstahl wrote: >> >> He

Re: Nested gexps in mcron job definitions

2024-12-09 Thread Julien Lepiller
Hi Yulran, I think this is related to how gexps are expanded. In your first gexp, you use #$accounts, which expands to ("account1" "account2"), and it's interpreted as a procedure call. Untested, but '#$accounts should work. It might be easier to work with a single gexp, like so: #~(job '(nex

Re: IRC

2024-10-24 Thread Julien Lepiller
Hi Gottfried, I don't know if it's the best, but I use hexchat. You can run "guix search irc client" to find a few, try them out with guix shell, and figure which one works best for you ;) Le 24 octobre 2024 12:21:02 GMT+02:00, gfp a écrit : >Hi, >which package is best to install >so that I ca

Re: same package defined in multiple channels?

2024-02-09 Thread Julien Lepiller
Hi Andy, They will all be available, and the one used will depend on the situation and how you use them. Consider 'foo' is not only in different channels, but also in different modules (from the root of the channel, they are defined in different directories/files). In that case, all versions a

Re: IRC

2024-01-18 Thread Julien Lepiller
Hi Gottfried, It's a matter of personal preference. I use hexchat, others use emacs, … I also have a bouncer (znc) on my server which stays connected for me. HTH! Le 18 janvier 2024 14:58:32 GMT+01:00, Gottfried a écrit : >Hi Guix, > >to use IRC > >what do I have to install? > >I guess: Pidgin

Re: Correct way to protect `guix system vm` invocations from garbage collection?

2024-01-05 Thread Julien Lepiller
Hi Ben, If by "as a service", you mean started by the Shepherd, you should be good: the vm path will become alive as it's part of the system. Another solution would be to make it a gc root, which you can do by symlinking it in /var/guix/gc-roots Le 6 janvier 2024 00:31:05 GMT+01:00, Ben Weinst

Re: Laptop won’t boot after Guix install

2024-01-05 Thread Julien Lepiller
Hi Ian, Something similar happened to me before. After reconfiguring a lot of times, the firmaware had no space left for EFI variables. I didn't notice the error message at first because guix system did succeed. Maybe you have some similar errors that don't lead to a failure? What does the last

Re: How to configure gitolite service?

2023-12-05 Thread Julien Lepiller
This is the public key that corresponds to the private key the admin uses to pull/push the configuration repo with: git clone git@server:gitolite-admin I don't understand why you talk about mail here, plain-file is a file-like object which creates a file in the store from a string. This is just

Re: Using Guix challenge for critical software? (resend)

2023-11-29 Thread Julien Lepiller
If you already have substituted it, you could rebuild it: guix build openssh --no-grafts --check Le 29 novembre 2023 12:40:50 GMT+01:00, Steve George a écrit : >Hi, > > > >How can I use 'guix challenge' to test critical software or packages that are >deep in the dependency tree? > > > >As I un

Re: Unable to build "Ten Years Reproducibility Challenge" paper

2023-10-31 Thread Julien Lepiller
That's openssl failing due to a time-dependent test. Try making your system time something around 2010 and don't let ntpd set it back to today until openssl is built. You could skip tests, but that would build a different derivation tree, so it might affect reproducibility (probably not): --wit

Re: Ocamlfind doesn't find arbitrary library

2023-09-21 Thread Julien Lepiller
Le Thu, 21 Sep 2023 11:08:38 -0400, Garek Dyszel a écrit : > Hi Guix, > > While trying to get Coq to find a certain package that is part of its > dependency chain, I stumbled upon the following seemingly-general > problem. It seems that Ocaml packages are not in general detected by > findlib. >

Re: dune-based package design trouble

2023-09-20 Thread Julien Lepiller
Le Wed, 20 Sep 2023 09:52:03 +0200, Erwan Jahier a écrit : > Hello, > > I am a newguix tring to package some of his software. > > Since I already have opam packages, I used =guix import opam=, that > helped a little. Of course, my packages have dependancies, and not > all of them exist in

Re: guix on foreign distribution: /var/log/guix/* removal safe?

2023-09-04 Thread Julien Lepiller
Le 5 septembre 2023 01:56:08 GMT+02:00, Csepp a écrit : > >Andy Tai writes: > >> I run Guix on top of a foreign distribution (Fedora). The directory >> /var/log/guix contains log files and keeps growing in size. I wonder >> if I can remove existing log files in /var/log/guix without any >> har

Re: ocaml-stdlib-shims: setting paths for a Coq package

2023-09-03 Thread Julien Lepiller
Le 2 septembre 2023 20:52:21 GMT+02:00, Garek Dyszel a écrit : >Hi Guix, > >While trying to package coq-elpi, one finds that Findlib is unable to >find ocaml-stdlib-shims. The problem persists even if ocaml-stdlib-shims >is located in the inputs and propagated-inputs fields. > >Trying to set OCAM

Re: Guidance for packaging Java programs

2023-07-27 Thread Julien Lepiller
Le 28 juillet 2023 04:09:42 GMT+02:00, Bruno Victal a écrit  : >Hi Julien, > >On 2023-07-13 18:48, Julien Lepiller wrote: >> If you feel like helping, maybe an importer would be a good first step :). >> You should be able to get info from Maven Central (get the pom fi

Re: URISyntaxException building openjdk@10

2023-07-24 Thread Julien Lepiller
Which architecture are you building on, and which filesystem is your store on? This looks like something got corrupted, maybe check your filesystem or try and rebuild openjdk@9 (with --check --no-grafts). As Andreas mentions, it works on the build farm. Le 24 juillet 2023 10:17:54 GMT+02:00, An

Re: Guix System and WIFI / WLAN

2023-07-18 Thread Julien Lepiller
Hi Gottfried, Trisquel and Guix have the same issue with wifi: lack of free driver/microcode. So, if this adapter works with Trisquel, driver/microcode is free and it works with Guix too :) I used an Atheros-based dongle in the past (can't remember the exact reference, but probably this one) a

Re: Guidance for packaging Java programs

2023-07-13 Thread Julien Lepiller
Le 13 juillet 2023 21:35:37 GMT+02:00, Bruno Victal a écrit  : >Hi Julien, > >On 2023-07-13 18:48, Julien Lepiller wrote: >> I've never seen anything like saxon-he sources. It looks like a bunch of zip >> files that contain java files with no build system. The ant

Re: Guidance for packaging Java programs

2023-07-13 Thread Julien Lepiller
lso be challenging, but we can solve with an upstream-name property. Here are some more resources if you want to learn more about Guix and Java: I gave a talk about bootstrapping Maven in 2020: https://xana.lepiller.eu/guix-days-2020/guix-days-2020-julien-lepiller-bootstrapping-maven-480.mp4

Re: desktop services

2023-05-11 Thread Julien Lepiller
Some desktop environments require a service, which would be added to the services fiild of your operating-system. They can't work otherwise. Most window managers (in my case, openbox), do not require a service type so you can simply add the package to the packages field of your operating system

Re: Guix website Czech translation

2023-05-10 Thread Julien Lepiller
to help, go ahead. > >I'm happy to hear that, I will leave it up to you then, after all, it's your >school project. :) > >> >> Sent from Outlook for Android<https://aka.ms/AAb9ysg> >> >> ________ >> From: wolf &

Re: Guix website Czech translation

2023-05-10 Thread Julien Lepiller
Le Wed, 10 May 2023 21:09:26 +0200, Julien Lepiller a écrit : > It's a manual process. I'll update it as soon as possible. > > Le 10 mai 2023 14:55:30 GMT+02:00, "Kryštof Šourek via" > a écrit : > >Hi, > > > >I've been working on a Czech l

Re: Guix website Czech translation

2023-05-10 Thread Julien Lepiller
It's a manual process. I'll update it as soon as possible. Le 10 mai 2023 14:55:30 GMT+02:00, "Kryštof Šourek via" a écrit : >Hi, > >I've been working on a Czech language translation for the Guix website in the >past week and I've finished it. >I'm not sure how long it normally takes to get a t

Re: MATE Desktop fails

2023-05-07 Thread Julien Lepiller
Have you tried clearing gdm's cache? I think something like rm -rf ~/.cache/gdm might solve the issue. I'm not sure for your other questions. Le 7 mai 2023 14:11:40 GMT+02:00, Gottfried a écrit : >Hi, > >I did a rollback on my guix system four times, > >but MATE was not recovered. > >it seems it

Re: rollback

2023-05-07 Thread Julien Lepiller
This is the right command. It rolls back the system generation only, not the guix pull profile, which would be rolled back with "guix pull —roll-back". You don't need to roll it back though, only the system profile where MATE is installed. Le 6 mai 2023 17:23:30 GMT+02:00, Gottfried a écrit :

Re: guix command line behavior upon network failure or package build failure

2023-04-15 Thread Julien Lepiller
Failing earlier might still be friendlier, as guix will not be working for nothing. When guix upgrade fails, nothing is upgraded, after all. Guix has the --keep-going option you can use to continue downloading/building packages unrelated to the failure. Le 16 avril 2023 08:48:41 GMT+02:00, Andy

Re: Newbie: What's the importance of *.drv, *.-builder, etc. files in /gnu/store?

2023-04-08 Thread Julien Lepiller
Going step by step, Guix performs the following. First, it needs to download the original sources of the package. When creating a store item, most of the time, the guix daemon is involved. The daemon's purpose is to take a lower-level representation of a build procedure and turn that into an is

Re: static-networking-service-type: Using a static network bridge

2023-03-29 Thread Julien Lepiller
Le Mon, 27 Mar 2023 19:37:53 +0200, Denis 'GNUtoo' Carikli a écrit : > On Fri, 24 Mar 2023 18:14:48 +0100 > Julien Lepiller wrote: > > > The type should be a string, so "bridge" would be correct. However, > > it's not supported by guile-netlink ye

Re: Newbie: How to see progress during 'build' phase?

2023-03-27 Thread Julien Lepiller
When the build process for the package outputs percentages, we can know what the progress is, and guix will show a progress bar. However, many packages do not show progress, so we just spin a dash for every line of log the process outputs. If you want to see the logs and het hypnotized by it, yo

Re: static-networking-service-type: Using a static network bridge

2023-03-24 Thread Julien Lepiller
rikli a écrit : >On Wed, 22 Mar 2023 07:24:01 +0100 >Julien Lepiller wrote: > >> You specified type twice, with #f the last time. Maybe that's tge >> issue? >Sorry my bad: I messed up the indentation, so it makes it look like >type is specified twice. > >Whe

Re: How to properly upgrade Guix System & Home?

2023-03-22 Thread Julien Lepiller
Most likely, you're just seeing a weird behavior caused by grafts. To make a graft, guix needs the ungrafted package first, so it downloads it, grafts it and adds it to the profile. The grafted package is live, so it's protected against garbage collection. The ungrafted package is not, so it get

Re: static-networking-service-type: Using a static network bridge

2023-03-21 Thread Julien Lepiller
You specified type twice, with #f the last time. Maybe that's tge issue? Le 22 mars 2023 01:32:48 GMT+01:00, Denis 'GNUtoo' Carikli a écrit : >Hi, > >Is it possible to do something like that in a system configuration?: >> ip link add lan0 type bridge >> ip link set dev eth0 master lan0 >> ip add

Re: Newbie: Error when using "guix gc -D" to delete directory in /gnu/store

2023-03-18 Thread Julien Lepiller
First of all, you don't need to delete these files. Even if they exist in the store, they won't be foumd by other software unless they are currently installed in one of your profiles. The error you get when you try to delete them means that one of the generations of one of your profiles still h

Re: bad use of syntactic keyword

2023-03-11 Thread Julien Lepiller
another message: > >> ice-9/boot-9.scm:1685:16: In procedure raise-exception: >> error: home-redshift-service-type: unbound variable >. >I copied the "redshift-service-type" part >from the manual into my config.scm >so I don’t find the "unbound variable&quo

Re: Mysteries of channel configuration during system reconfigure

2023-03-11 Thread Julien Lepiller
Le 11 mars 2023 01:16:21 GMT+01:00, Kyle Andrews a écrit : > >Julien Lepiller writes: > >> Does your /etc/channels.scm list the extra channels? > >At this point it does not. I "restored" a backup from my old computer >into my home directory. Now I hav

Re: Mysteries of channel configuration during system reconfigure

2023-03-10 Thread Julien Lepiller
guix system describe lists channels used to build your system, but they can be different from the ones currently known to guix. Does your /etc/channels.scm list the extra channels? "guix describe" will be more accurate about what channels your current guix knows about. If you type "type guix"

Re: bad use of syntactic keyword

2023-03-10 Thread Julien Lepiller
You have an extra closing parenthesis at the end of this line: (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes") Remove one and adjust next lines if needed :) Le 9 mars 2023 17:49:43 GMT+01:00, Gottfried a écrit : >Hi, > >after adding: "service redshift" to my config

Re: Newbie question: Why my system has so many shells.scm files?

2023-03-04 Thread Julien Lepiller
Another possibility is to use guix gc -R `readlink -f /path/to/a/profile`. Note that you have multiple profiles (system, user, pull, maybe home). The command lists all live paths under a given store path. In this case, all that is accessible to the profile you asked for. It's granularity is the

Re: Newbie user question: How to delete all files in /gnu/store related to a package definition?

2023-02-26 Thread Julien Lepiller
Hi Rodrigo, > , > | finding garbage collector roots... > | guix gc: error: cannot delete path > `/gnu/store/2j9gykgj0axgg193pd6hvrmnzqbz88nm-font-noto-color-emoji-2.034.drv' > since it is still alive > | Exit code: 123 > ` As it says, that store path is still alive, but why? Wh

Re: package store directory in custom location

2023-02-26 Thread Julien Lepiller
Hi Andy, so you could change the store location, but it would just create the same stone structure as /gnu/store elsewhere, with the same issues and no substitutes. Instead you could try to create a relocatable pack of python, and untar it somewhere writable. There might be a small runtime pena

Re: guix running advice: correct?

2023-02-04 Thread Julien Lepiller
le anymore, since guix should do the right thing now when setting the shell profile files, and it would warn if you attempted a dpongrade. Le 5 février 2023 00:16:37 GMT+01:00, Kyle Andrews a écrit : > >Julien Lepiller writes: > >> Hi Andy, >> >> I'm the author

Re: grub-install failing while system reconfigure

2023-01-15 Thread Julien Lepiller
This happened to me recently. The system wouldn't even boot after that… It seems the issue is that grub appends some config in bios NV memory, which is separate from your EFI partition, and it filled up. I found two potential solutions: remove the variables (somewhere in /sys I think) or enter

Re: Guix supported-systems option

2023-01-14 Thread Julien Lepiller
That's how it's done with some packages that need arch-specific things (inputs, build phases, …) so yes :) Le 14 janvier 2023 23:01:49 GMT+01:00, phodina a écrit  : >Hi Julien, > >> I think you have multiple packages with the same name and version, but >> different supported systems. Am I right

Re: Guix supported-systems option

2023-01-14 Thread Julien Lepiller
I think you have multiple packages with the same name and version, but different supported systems. Am I right? If that is the case, then guix will select a package based on the specification you give it, so if you give a name, it will select the package with that name and the highest version a

Re: Strange error when adding module gnu/packages/engineering

2023-01-05 Thread Julien Lepiller
Hi Reza, It's a bit hidden, but there's usually another error message on the line before the first unbound variable error. Hopefully, it should give you a better clue :) Le 4 janvier 2023 15:38:45 GMT+01:00, Reza Housseini a écrit : >Hello Guixers > >I'm in the process of adding a package to g

Re: guix running advice: correct?

2023-01-04 Thread Julien Lepiller
Hi Andy, I'm the author of this advice. I think it's still correct. It's mostly sanity checks that you would run to ensure you can get packages from this channel. Most of it is scattered around the manual, mostly in the manual installation documentation. ~/.config/guix/current is where your ne

Re: Possible sources of environment variables

2023-01-01 Thread Julien Lepiller
I don't use guix on a foreign distro, so maybe I don't remember properly, but I think your profile is automatically sourced from /etc/profile.d or similar. Le 30 décembre 2022 18:12:32 GMT+01:00, Tirifto a écrit : >Hello! I have a small problem that’s a bit odd, perhaps. I have some >environmen

Re: How do I install a file with custom permissions?

2022-11-29 Thread Julien Lepiller
Hi Timo, Files in the store are always world-readable and there's nothing you can do to change that. There has been discussions in the past about how to handle secrets in the store, but no solution so far. One thing you can do, if wireguard allows it, is to have the pre-shared key in a separat

Re: "Unsupported manifest format" error, likely corrupt store

2022-11-26 Thread Julien Lepiller
Don't bother with guix refresh, it's meant for huix devs. If you have a previous generation of your profile, you could try and switch to it (guix package --roll-back), but you said that didn't work. You can also switch manually by repeating the steps Guix would take behind the scenes, manually.

Re: What passes in the inputs to the lambda?

2022-11-20 Thread Julien Lepiller
Le Sun, 20 Nov 2022 15:10:09 -0600, jgart a écrit : > In the following snippet, what passes in the inputs to the lambda? > > (modify-phases %standard-phases > (replace 'unpack > (lambda* (#:key inputs #:allow-other-keys) > (let* ((source (assoc-ref inputs "source")) > (g

Re: what might be wrong with my nightly function?

2022-11-15 Thread Julien Lepiller
Haven't tested and you didn't share what was the issue. The obvious thing I see is #:olive-hash is (base32 "…") by default, so the origin uses (sha256 (base32 (base32 "…"))) by default Le 16 novembre 2022 02:37:10 GMT+01:00, jgart a écrit : >hi, what might be wrong with this function? > >;; let

Re: guix search across core-updates?

2022-11-14 Thread Julien Lepiller
Hi jgart, I think you could try with the time machine: guix time-machine --branch=core-updates -- search … Le 15 novembre 2022 06:45:35 GMT+01:00, jgart a écrit : >hi, > >how can I search for packages across the core-updates branch with `guix >search` and without ./pre-inst-env? >

Re: All 75 channel news entries are valid

2022-11-14 Thread Julien Lepiller
Hi jgart, are you trying to use -L in the guix repository? Use pre-inst-env instead. Le 14 novembre 2022 23:44:02 GMT+01:00, jgart a écrit : >Hi, > >has anyone ever gotten this backtrace before? I was trying to update >`emacs-crdt`: > > guix-shell guix build -L . emacs-crdt >guix build: warning

Re: Regex Rules

2022-11-09 Thread Julien Lepiller
\\ is for inputing a single \ (it needs to be etcaped in guile strings). Then, the rest is a Guile regexp, wgicg you can liarn about at https://www.gnu.org/software/guile/manual/html_node/Regular-Expressions.html. The manual says it's POSIX regexp, whatever that means :) Le 10 novembre 2022 03:

Re: committer.scm

2022-10-31 Thread Julien Lepiller
Try calling it with pre-inst-env. Le 1 novembre 2022 02:42:55 GMT+01:00, jgart a écrit : >Hi, > >Does anyone know how to use the committer.scm script or how it is intended to >be used? > >This is what my unstaged area looks like: > >$ guix-shell git status >On branch master >Your branch is ahea

Re: Installation failed : "cannot build derivation" error and "Guix system: error: build of [..]"

2022-10-12 Thread Julien Lepiller
I don't see an error messahe below, am I missang something? Are you using latest or release? Release is quite old now, and bugs have been fixed in latest. Le 13 octobre 2022 00:46:35 GMT+02:00, "jord...@librebits.info" a écrit : >Hello Guixers ! > >My installation process is failing at very las

Re: duplicate package names in channels

2022-09-30 Thread Julien Lepiller
Build results are kind of content-addressed, so when two separate packages yield the same hash, it means they are the same package, and no rebuild is necessary. For the other two questions, it depends from which perspective you're looking at. From the code point of view, there are no difference

Re: How can I upgrade all the packages in my default profile?

2022-09-27 Thread Julien Lepiller
"guix upgrade", with no arguments, should do it. Le 27 septembre 2022 18:07:36 GMT+02:00, jgart a écrit : >guix upgrade * or guix upgrade '*' don't work for me :( > > >

Re: guix fails to remove the rust

2022-08-24 Thread Julien Lepiller
Generally, the actual error is the first one, not the last one: "build failure may have been caused by lack of free disk space" I suggest you run "guix gc -F 1M" which should free up just enough space for now :) Le 25 août 2022 02:35:22 GMT+02:00, jgart a écrit : >guix remove rust

Re: Guix as a native-inputs ?

2022-08-02 Thread Julien Lepiller
I suppose once you get information about these channels, you could create an inferior with these channels, and evaluate your package in it. Le 2 août 2022 19:10:31 GMT+02:00, Olivier Dion a écrit : >On Tue, 02 Aug 2022, Julien Lepiller wrote: >> If you're trying to access th

Re: Guix as a native-inputs ?

2022-08-02 Thread Julien Lepiller
If you're trying to access the build daemon from inside the package build container, that must mean you have a derivation you're trying to build. Instead of trying to circumvent the container (which is there for a reason), you could: - write a bit of Scheme code that returns that derivation - pa

Re: how can I use "tor"

2022-07-24 Thread Julien Lepiller
't know if somebody has time to do it. >Gottfried > > > >Am 24.07.22 um 12:13 schrieb Julien Lepiller: >> No, there's no tor-browser on guix. Tor is running as a separate daemon and >> changing the settings instruct icecat to connect through the tor daemon. >

Re: how can I use "tor"

2022-07-24 Thread Julien Lepiller
used in Icecat and there is not a separate Tor Browser. Am I >right? > >Gottfried > > > > >Am 22.07.22 um 17:20 schrieb Julien Lepiller: >> You can't "run tor in icecat" that doesn't make sense. Maybe you meant >> something else? >> >>

Re: how can I use "tor"

2022-07-22 Thread Julien Lepiller
ia Tor. >Is it possible to run Tor separately from Icecat, because as I wrote, the Tor >Website discourages to use Tor in connection with other browsers. > >Gottfried > > > >Am 21.07.22 um 22:35 schrieb Julien Lepiller: >> Hi Gottfried, >> >> you don'

Re: how can I use "tor"

2022-07-21 Thread Julien Lepiller
Hi Gottfried, you don't have to install tor or run it manually. The service is already running tor for you. To use Tor, you need to use a socks proxy to localhost:9050. You can configure icecat to connect to that proxy (and then check that you're actually connected through tor: https://check.torp

Re: Finding Dependencies at Run Time

2022-07-13 Thread Julien Lepiller
My explanation must not have been clear. You can read more on search-paths at https://guix.gnu.org/manual/devel/en/html_node/Search-Paths.html#Search-Paths Basically, it's a declaration on packages that specify which path-like environment variables they honor. When building an environment/profi

Re: Finding Dependencies at Run Time

2022-07-13 Thread Julien Lepiller
Maybe the general case is C programs rather than wrappers. During the build, search-paths and native-search-paths are used to set up environment variables. If you use --keep-failed and interrupt a build you'l find them in /tmp/guix-build-…/environment-variables. For C programs, LIBRARY_PATH is

Re: Finding Dependencies at Run Time

2022-07-13 Thread Julien Lepiller
The information is all in the package. You can see for instance store paths that are embedded form a store path with: guix gc --references /gnu/store/… The mecanism depends a bit on the build system but for C programs, it's embeded at build-time in its RPATH. For applications, there are wrapper

Re: Package definition hash calculation

2022-07-11 Thread Julien Lepiller
e it will work for updating the package in guix. I will try it. > >There is no information about `git-checkout`: >https://guix.gnu.org/manual/en/html_node/origin-Reference.html Is it elsewhere >in the docs? > >Best regards, >Zelphir > >On 7/9/22 13:44, Julien Lepiller w

Re: Package definition hash calculation

2022-07-09 Thread Julien Lepiller
When you use guix download, or url-fetch, the hash is computed over the entire file, whether it's a tarball that contains other files or whatever else doesn't matter. You can't exclude files from inside the tarball. It's just the checksum of the file. What you describes sounds like you're downl

Re: package exists but not showing

2022-07-07 Thread Julien Lepiller
Can you show us "which guix"? Alse firefox is not part of guix, but it's in a channel. Maybe your channel configuration changed recently? On July 8, 2022 6:34:57 AM GMT+02:00, Andy Tai wrote: >Hi, I am running the latest mainline guix on top of Fedora. After doing > >guix pull && guix package -

Re: Trying to replicate guix packages list on another machine

2022-06-27 Thread Julien Lepiller
It's possible your packages on machine A are from various guix revisions, if you didn't run "guix update" or didn't use a manifest to install them. Eg you run "guix install glibc" at revision A, pull revision B where glibc was updated to 2.34. When you list your packages, it still mentions glibc

Re: Additional channels pulled, but cannot install/update software

2022-06-25 Thread Julien Lepiller
Hi Simen, Can you check that your "guix" actually comes from ~/.config/guix/current/bin/guix (and *not* ~/.guix-profile or ~/.guix-home, it's very important)? `type guix` should tell you what it is. If it doesn't agree with `which guix` and the location found by which is correct, try `hash guix`

Re: what is the difference among files in /gnu/store

2022-06-02 Thread Julien Lepiller
point to that fixed version (remember a store path is immutable, it doesn't change even with updates). So, you won't get updates. Instead, you should just use the name of the theme, so Mate will look for a theme by that name, and find it in the latest store path that Guix configured f

Re: what is the difference among files in /gnu/store

2022-06-01 Thread Julien Lepiller
Hi Gottfried, How did you get this list of store items? The first one comes from "mate". That's a meta-package that contains the union of a bunch of packages that are needed to run mate. The second is the content of a system generation. You probably installed mate in your system :). The system

Re: Guix home, guix system, channels, some noob questions

2022-05-12 Thread Julien Lepiller
ain security when i >share or publish my config with/to others ? > >Thanks, > >Best regards > > >Le 11/05/2022 à 17:48, Julien Lepiller a écrit : >> Guix home and guix system are pretty similar as they are used to >> declaratively manage configuration. But, the

Re: Guix home, guix system, channels, some noob questions

2022-05-11 Thread Julien Lepiller
on/guix-channel.git >>   branche : master >>   commit : 094746c1e2e90f2df1e598ab1fd0abb4d75ce84d >>     guix: >>   URL du dépôt : https://git.savannah.gnu.org/git/guix.git >>   branche : master >>   commit : 0f705472126f7b935e0783bcd8fec831b7a05

Re: Guix home, guix system, channels, some noob questions

2022-05-11 Thread Julien Lepiller
Hi Sébastien, When you run guix describe, it's running the guix for your user, which miggt be different from the one you run when you use sudo. That could explain why the modules are not found. I don't think guix home has anything to do with that. I noticed that the first time you use sudo -E,

Re: Help installing on Cubox-i/Arm Boards

2022-05-04 Thread Julien Lepiller
Hi Ryan! Installing on armhf/aarch64 SBCs is not easy. I'm not sure the graphical installer is available for these platforms. The tarball you found is for installing Guix, the package manager, on top of another distro. It's not the distro itself. This blog post might help figuring out what you

Re: to run a package that isn't shown in the application menu

2022-03-09 Thread Julien Lepiller
In general, you can run the app from the command-line. Don't point directly to the store, because the path might change after an update. However this is only a workaround. The proper solution is to fix the packaging. Which packages are lacking a launcher icon? On March 9, 2022 7:17:10 PM GMT+01

Re: Guix website and CI is unavailable in Russia

2022-03-02 Thread Julien Lepiller
Hi! I'm sorry to hear that you can't access the ci. At least, I don't think it's an intentional block from the Guix project. The website and ci are located at the MDC, in Berlin. We also have a second official build farm in Bordeaux, France. If you don't have it already configured, try it: http

Re: text editor

2022-02-22 Thread Julien Lepiller
Hi Gottfried, If you don't feel ready for emacs, I would suggest you try Gedit. It's a graphical text editor with basic functionalities like syntax highlighting. It won't do as much as emacs or vim, but it should be very easy to use :) Le Tue, 22 Feb 2022 18:14:32 +, Gottfried a écrit : > H

Re: guile

2022-02-22 Thread Julien Lepiller
Le Tue, 22 Feb 2022 18:07:13 +, Gottfried a écrit : > Hi, > in order to learn to configure the config.scm file > I would like to learn how it works. > > Which website or article could help me to get an overview and learn > something about guile, because guix is build on guile, I understood.

Re: Trouble configuring guix

2022-02-19 Thread Julien Lepiller
Hi Yasuaki, That's great to hear about why you came to guix, but please don't advertise for non-free software on guix mailing lists :) On February 20, 2022 3:03:07 AM GMT+01:00, Yasuaki Kudo wrote: >Hi!, > >I just wanted to let you know I came to Guix for the exact same reason - >Nix was way

Re: Trouble configuring guix

2022-02-19 Thread Julien Lepiller
Looking at the manual, I tgink this is the issue. sddm-configuration is a record type that has a field called xorg-configuration. This field expects a record of type xorg-configuration, but you pass it a keyboard configuration instead. I think this is what you need to do: (sddm-configuration

Re: install a Printer

2022-02-16 Thread Julien Lepiller
338eccaa0"))) >   (file-systems >     (cons* (file-system > (mount-point "/boot/efi") >          (device (uuid "BB77-FE3B" 'fat32)) > (type "vfat")) >    (file-system > (mount-point "/") >   

Re: install a Printer

2022-02-16 Thread Julien Lepiller
on´t recognise my printer yet. >* > >* >* > >Gottfried* >* > > > >Am 15.02.22 um 20:51 schrieb Julien Lepiller: >> You're all good. In addition to your modifications, you need to add >> cups to the list of service modules, at the top of the file: >> >

Re: install a Printer

2022-02-15 Thread Julien Lepiller
se-exception _ #:continuable? _) > >ice-9/boot-9.scm:1685:16: In procedure raise-exception: >*Fehler: cups-service-type: Nicht gebundene Variable* > >root@Tuxedo /etc# > > >There is still a mistake I guess. > >Thanks for helping, but please deal with it not today anymo

Re: install a Printer

2022-02-15 Thread Julien Lepiller
ebruary 15, 2022 8:02:56 PM GMT+01:00, Julien Lepiller wrote: >Remove one closing parenthesis here: (service cups-service-type) > >On February 15, 2022 7:59:34 PM GMT+01:00, Gottfried >wrote: >>Hi, >> >>I did it, as You said, or did I do something wrong? >&g

Re: install a Printer

2022-02-15 Thread Julien Lepiller
uot;/boot/efi") >      (device (uuid "BB77-FE3B" 'fat32)) > (type "vfat")) >    (file-system > (mount-point "/") > (device >    (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e

Re: install a Printer

2022-02-15 Thread Julien Lepiller
(device >    (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" > 'ext4)) > (type "ext4")) >    %base-file-systems))) > >*Answer was:* > >*/etc/config.scm:25:2: Fehler: (services (append (list (s

Re: install a Printer

2022-02-15 Thread Julien Lepiller
> %base-file-systems))) > > >*The answer was:* > >/etc/config.scm:5:0: Fehler: module (gnu services cups-service-type) not >found Hinweis: Der Befehl `guix system search cups-service-type' sucht >nach einem zu `cups-service-type' passenden Dienst. Wen

Re: install a Printer

2022-02-15 Thread Julien Lepiller
Your service specification is not at the right place, and incorrect. You have to be careful with parenthesis, as they define the structure of things (similar to braces in other programming languages). The service specification needs to be inside the list, at the same level as all these (service

Re: using german language

2022-02-13 Thread Julien Lepiller
You can speak German on this list, but as you guessed, you'll get answers only from German speakers :) On February 13, 2022 9:56:56 AM GMT+01:00, Gottfried wrote: >Hello, > >As a German native speaker I am asking if it makes sense to write in German. > >I suppose, if I will write in German, onl

Re: Howddya specify max supported dependency version for a package?

2022-01-16 Thread Julien Lepiller
Simple unhelpful answer, you can't. Guix doesn't work like that. We don't specify package range or give a package any way to choose itt dependencies. When you specify a dependency, it's always a reference to a very specific packaqe (though the reference might evolve with newer guix revisions). I

Re: Add VLAN with Guile Netlink link-add

2022-01-11 Thread Julien Lepiller
Thanks for the report! It looks like I didn't read the netlink documentation properly and forgot a part of the message. I think I just fixed that in guile-netlink 1.1.2. You can access it with --with-latest=guile-netlink ;) Le 10 janvier 2022 12:29:38 GMT+01:00, Niklas Schmidt a écrit : >Dear

Re: Nginx with PHP and sqlite

2021-12-19 Thread Julien Lepiller
The manual has an example of how to use php fpm with nginx, using nginx-php-location for instance. Le 19 décembre 2021 15:47:55 GMT-05:00, Andreas Enge a écrit : >Hello, > >I would like to create a website using PHP and sqlite; so far my server >uses Nginx (and static pages), whereas the "web se

  1   2   3   4   >