Re: guix shell without arguments

2023-05-15 Thread Simon Tournier
Hi Dave, On Fri, 12 May 2023 at 12:14, "Thompson, David" wrote: > It *sounds* like it should be the case, but it isn't. Specifying the > command to run explicitly is considered a non-interactive case, and in > non-interactive mode the automagic guix.scm/manifest.scm reading does > not occur.

Re: Specifying licenses that are not included with guix

2023-05-15 Thread Simon Tournier
Hi, On sam., 13 mai 2023 at 11:36, n...@promisedlandt.de wrote: > 1. What do I do if a package specifies a license that is not included > in guix/licenses.scm ? For example, vim-sandwich uses the NYSL license > [1] (between public-domain and WTFPL), coc.nvim is the originator of > the "Anti 996"

Re: guix shell without arguments

2023-05-12 Thread Simon Tournier
Hi, On ven., 12 mai 2023 at 14:06, André A. Gomes wrote: > --8<---cut here---start->8--- > guix shell -D -f /path/to/guix.scm -- foo-command > --8<---cut here---end--->8--- > > The incantation below creates an empty

Re: Guix website Czech translation

2023-05-11 Thread Simon Tournier
Hi, On jeu., 11 mai 2023 at 00:34, wolf wrote: > Out of curiosity, how are translations reviewed? Translations are reviewed by other translators. If you find typo or mistake, you are welcome to fix them. Weblate [1] is the entry point. And you can also discuss specific topic on the

Re: guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-09 Thread Simon Tournier
Hi, > "26a788ae06 doc: Add some information/recommendation regarding > --sysconfdir." > > that I hope rectifies this! > > Let me know if something can be improved still. I think the “make install” part means here “./pre-inst-env guix pull”. Well, that’s the only case where I had troubles because

Re: Identifying cause of local package build

2023-05-03 Thread Simon Tournier
Hi, On Fri, 28 Apr 2023 at 21:33, Skyler via wrote: > Is there an efficient way to track down what is causing this inkscape > to be built, aside from manually running `guix gc --referrers` on > every derivation until I (hopefully) find something that leads me to > the root cause? The list of

Re: behavior of guix package -k -u on substitute download failure or build failure

2023-05-03 Thread Simon Tournier
Hi, On Fri, 28 Apr 2023 at 13:11, Andy Tai wrote: > if any failure occurs (network failure downloading substitutes or > local build failure) I agree and me too I am also confused. When I run “guix build -k”, I am expecting that Guix will build all it can. And that’s not the case: sometimes

Re: Contact For Documentation Improvements

2023-04-28 Thread Simon Tournier
Hi, On jeu., 27 avril 2023 at 22:57, "mhrunn...@yahoo.com" wrote: > Thanks for any feedback on who or whom should be contacted to initiate > a discussion. Well maybe this kind of discussion could be done on the mailing list guix-de...@gnu.org. There is no “who” to contact. Only public

Re: Fail to update gajim

2023-04-24 Thread Simon Tournier
Hi, On Mon, 24 Apr 2023 at 09:19, Andreas Enge wrote: > thanks for your report! The message indicates that no binary substitute > is available from our build servers, so that your computer tries to build > the package itself. This currently fails on master and also on the soon to > be merged

Re: DNS problems with guix.gnu.org domain (and a tip)

2023-04-14 Thread Simon Tournier
Hi, On Fri, 14 Apr 2023 at 09:23, Simon Tournier wrote: > Is it possible that the problem would come from > 1e428e8fd6945f5c9f13a14e9cd97c81f3f4d945 or > d3627a9d877a40b357739aa9c21753fd14f43227 from the repository > maintenance? It is not the issue. :-) Sorry for the noise. Quo

Re: DNS problems with guix.gnu.org domain (and a tip)

2023-04-14 Thread Simon Tournier
Hi, On Fri, 14 Apr 2023 at 00:04, Maxim Cournoyer wrote: > I thought I'd share this useful tip while the problem is investigated > and resolved. Is it possible that the problem would come from 1e428e8fd6945f5c9f13a14e9cd97c81f3f4d945 or d3627a9d877a40b357739aa9c21753fd14f43227 from the

Re: Most used and least used build-system in Guix packages

2023-04-13 Thread Simon Tournier
Hi, On Wed, 12 Apr 2023 at 23:04, Rodrigo Morales wrote: > Today, I was wondering what the most used build system and the least > one are. The most used build system is `gnu-build-system'. The least > used build system is `dub-build-system'. Here's how I found that out. Please give a

Re: How to copy a file to the package /bin folder using the r-build-system?

2023-04-07 Thread Simon Tournier
Hi, On ven., 31 mars 2023 at 23:21, Kyle Andrews wrote: > (let ((out (assoc-ref outputs "out"))) > ;;; TODO: this doesn't work! > ;; copy site-library/littler/bin/r to bin/r > (copy-file >(string-append out

Re: Advice on handling optional dependencies or packaging yp-tools

2023-04-07 Thread Simon Tournier
Hi, On jeu., 06 avril 2023 at 21:04, Andreas Enge wrote: >> Well, I do not know what is missing. Which package provides >> libgssapi_krb5? > > All missing libraries come from mit-krb5. Thanks for confirming. It was that I thought and tried to add this package ’mit-krb5’ as inputs or

Re: Newbie: How to debug my custom packages? Is there something like Emacs' edebug but for Guix packages?

2023-04-07 Thread Simon Tournier
Hi, On ven., 07 avril 2023 at 04:20, Rodrigo Morales wrote: > |(build-system trivial-build-system) Please note that the ’trivial-build-system’ is the less trivial build system. I think you need ’copy-build-system’ instead. Roughly speaking, using this, mkdir path/to/test/folder

Re: Advice on handling optional dependencies or packaging yp-tools

2023-04-06 Thread Simon Tournier
Hi, On mer., 05 avril 2023 at 16:04, Kyle Andrews wrote: > The package uses autotools and friends. I thought I had figured out most > of the build dependencies. However, now I'm not so sure. The current > error mentions the libcom library which in debian depends on epics-base > and doesn't

Re: Newbie: How to transfer built binaries between Guix systems in the same LAN network?

2023-04-06 Thread Simon Tournier
Hi, On Sun, 02 Apr 2023 at 23:38, Rodrigo Morales wrote: > Is it possible to transfer already pre-built binaries between two Guix > systems that exist in the same LAN network? Well, depending on your configuration between the 2 machines, you can use offloading [1], “guix copy” [2] or

Re: Should the emacs-ess Guix package be fixed?

2023-04-04 Thread Simon Tournier
Hi, On Sun, 02 Apr 2023 at 23:00, Rodrigo Morales wrote: > + Is there a reason why `ess' packages are spilled over instead of > existing in a separated directory? Basically that’s because how EMACSLOADPATH automagically works with Guix. And since Emacs does not have namespace, the file

Re: Beginner trying to package org-noter-plus

2023-04-04 Thread Simon Tournier
Hi, On Tue, 28 Feb 2023 at 11:05, Samuel Schmidt wrote: > There are two problems: > 1. In the file emacs-devel.el > (https://github.com/dmitrym0/org-noter-plus/blob/master/emacs-devel.el) > of org-noter-plus, a path for cask is specified ((require 'cask >

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

2023-04-04 Thread Simon Tournier
Hi, On Sun, 19 Mar 2023 at 07:36, Julien Lepiller wrote: > 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

Re: streamlining custom package development

2023-03-07 Thread Simon Tournier
Hi, On Tue, 07 Mar 2023 at 16:57, Przemysław Kamiński wrote: > Starting download of /tmp/guix-file.TykbjO > From > https://hackage.haskell.org/package/servant-examples/servant-examples-0.1.0.0.tar.gz... > download failed >

Re: streamlining custom package development

2023-03-07 Thread Simon Tournier
Hi, On Fri, 03 Mar 2023 at 10:44, Przemysław Kamiński wrote: > This is tedious. Is there a way to automate this a bit more? Nothing I am aware of. Because Guix relies on some LTS, there is no easy way, to my knowledge, to achieve what you would like. Somehow you have to package by yourself

Re: Newbie user: Feedback on custom package definition

2023-03-07 Thread Simon Tournier
Hi, On Thu, 02 Mar 2023 at 19:57, "(" wrote: > On Thu Mar 2, 2023 at 6:54 PM GMT, Vagrant Cascadian wrote: >> I often wonder if the name "trivial-build-system" should not be >> something more like: >> >> diy-get-your-hands-messy-with-a-lot-of-effort-build-system > > Maybe

Re: Newbie user question: What do the columns shown by "guix package -I" mean?

2023-02-27 Thread Simon Tournier
Hi, On Sun, 26 Feb 2023 at 21:31, Tobias Geerinckx-Rice wrote: > I, personally, would welcome breaking their scripts—in exchange > for adding a ‘--format=’ option like > we already do for ‘guix search’. A real API that's actually > reliable and supportable. I think that's fair. Well,

Re: Using an alternative python to build python modules

2023-02-22 Thread Simon Tournier
Hi, There is no free lunch. ;-) On Wed, 22 Feb 2023 at 04:23, Kyle Andrews wrote: > Honestly, I couldn't get my poor ancient laptop to > even finish compiling the inferior - much less try using that inferior > with your package-with-explicit-python. I'm just wishing that this

Re: Using an alternative python to build python modules

2023-02-22 Thread Simon Tournier
Hi, On Tue, 21 Feb 2023 at 22:10, Simon Tournier wrote: > It is about the Guile module system and sometime I am also puzzled why > the @@ is not working as expected. Probably because, quoting Tobias [1]: could this be due to declarative modules? The definition's not

Re: Using an alternative python to build python modules

2023-02-22 Thread Simon Tournier
Hi, On Tue, 21 Feb 2023 at 20:26, Kyle Andrews wrote: > ``` > repl> (define pwep (@@ (guix build-system python) > package-with-explicit-python)) > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > error: package-with-explicit-python: unbound variable > ``` [...] > There seems to be

Re: conflict in profile: same package appears twice

2023-02-21 Thread Simon Tournier
Hi, On Mon, 20 Feb 2023 at 16:05, Andy Tai wrote: > atai@localhost /share/software/guix/guix.git$ guix install dconf > The following package will be upgraded: >dconf (dependencies or package changed) > > guix install: error: profile contains conflicting entries for dconf > guix install:

Re: Using an alternative python to build python modules

2023-02-21 Thread Simon Tournier
Hi, On Fri, 17 Feb 2023 at 21:27, Kyle Andrews wrote: > For example: > > ``` > (build-system python-build-system #:python python-3.6) > ``` > > That would be quite convenient and in line with the level of complexity > I was faced with when I took the conda approach before trying to use > Guix.

Re: guix pack isolation

2023-02-16 Thread Simon Tournier
Hi, On Wed, 15 Feb 2023 at 23:56, Kyle Andrews wrote: >> I do not have Singularity at hand, let demo with Docker >> which is very similar. > > Too bad! My system admistrators are against running Docker on the > cluster. The "relocatable" option didn't seem relevant to me since it > wouldn't

Re: guix pack isolation

2023-02-14 Thread Simon Tournier
Hi, On ven., 10 févr. 2023 at 00:25, Kyle Andrews wrote: > I am wondering how I can/should go about isolating containers created > using `guix pack`. Right now they are inheriting configurations from my > personal user folder. > > My system administrators are still quite skeptical about

Re: Declarative Guix Containers

2023-02-14 Thread Simon Tournier
Hi, On dim., 12 févr. 2023 at 16:39, Benton Edmondson wrote: > Hello, > > I see under > that it is possible to imperatively run programs in their own container. Is > it possible to do this declaratively? In other words, can I

Re: attempt to create a profile

2023-02-14 Thread Simon Tournier
Hi, On mar., 14 févr. 2023 at 06:00, Kyle Andrews wrote: > ``` > guix shell -p $HOME/my/profile/emacs -p $HOME/my/profile/rstats --container > guix shell -p $HOME/my/profile/rstats -p $HOME/my/profile/emacs --container > ``` > > Both commands ran for me. However, the first environment didn't

Re: specify custom manifest->friendly-name for guix pack -f docker?

2023-02-13 Thread Simon Tournier
Hi, On Fri, 20 Jan 2023 at 10:07, Greg Hogan wrote: > The image hash already depends on `guix pack` command-line options > --entry-point, --save-provenance, and --symlink as well as package > transformations, --no-grafts, and --system. Since building a > bit-to-bit reproducible docker image

Re: Understanding config.scm Modules

2023-02-08 Thread Simon Tournier
Hi, On Wed, 8 Feb 2023 at 16:49, Luis Felipe wrote: > > On Wednesday, February 8th, 2023 at 14:07, Simon Tournier > wrote: > > > On jeu., 02 févr. 2023 at 19:02, "mhrunn...@yahoo.com" mhrunn...@yahoo.com > > wrote: > > > > > > 4) Where

Re: Error: cannot close compressed log file

2023-02-08 Thread Simon Tournier
Hi, On mer., 08 févr. 2023 at 10:58, Emmanuel Medernach wrote: > $ guix pack -RR -C bzip2 -f tarball --manifest=manifest.scm > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... > 100.0% > The

Re: Understanding config.scm Modules

2023-02-08 Thread Simon Tournier
Hi, Thanks for your feedback. No answer to your questions means “I do not know” or “Something is indeed missing on Guix side”. On jeu., 02 févr. 2023 at 19:02, "mhrunn...@yahoo.com" wrote: > 2) For example, what is the purpose of "use-modules", > "use-service-modules", and

Re: attempt to create a profile

2023-02-08 Thread Simon Tournier
Hi, On mer., 08 févr. 2023 at 02:25, Csepp wrote: > Zimoun left out the guix-profil part. Yes, sorry for having overlooking this part. :-) Cheers, simon

Re: attempt to create a profile

2023-02-06 Thread Simon Tournier
Hi, On sam., 04 févr. 2023 at 23:36, Kyle Andrews wrote: >> guix shell -p path/to/some-profile/etc/profile This command is incorrect and it should read instead, guix shell -p path/to/some-profile but anyway, it was the idea. :-) > Is it possible to use guix shell to activate

Re: New Error For Stackage And Hackage Importers

2023-01-27 Thread Simon Tournier
Hi, On dim., 30 oct. 2022 at 21:40, jgart wrote: > $ guix import stackage bower-json -r > Syntax error: unexpected token : (ghc-options (-Wall > -fno-warn-missing-signatures)) (at line 58, column 2) > Syntax error: unexpected end of input > $ guix import hackage bower-json -r > Syntax error:

Re: shebang for python script?

2023-01-27 Thread Simon Tournier
Hi, On ven., 27 janv. 2023 at 06:10, "jgart" wrote: > Should we document this approach in the manual somewhere? An attempt here: Cheers, simon

Re: Running test for a package gives me an error 243

2023-01-26 Thread Simon Tournier
Hi, Sorry to be late. On Mon, 12 Dec 2022 at 09:53, Reza Housseini wrote: > Running the openfoam-10 tests during the package build gives me an error > 243 [1]. Running these tests locally in a guix shell does not produce > any errors. I could not figure out what this error code means, but I

Re: specify custom manifest->friendly-name for guix pack -f docker?

2023-01-20 Thread Simon Tournier
Hi, On mer., 18 janv. 2023 at 20:40, Przemysław Kamiński via wrote: > that produces cryptic docker image names like bash-coreutils-r-zhs. Well, this is an improvement compared to the previous behaviour. :-) See 0074844366381e3056d09492b8b437836c7adb61: --8<---cut

Re: "profile contains conflicting entries"

2023-01-17 Thread Simon Tournier
Hi Andy, On Mon, 16 Jan 2023 at 10:49, Andy Tai wrote: > Hi, I run into this: > > $ guix install guile-g-golf > The following package will be installed: >guile-g-golf 0.8.0-a.1 > > guix install: error: profile contains conflicting entries for glib That’s why propagated-inputs as submitted

Re: libgit2 shallow clone (was Re: Packaging Grafana)

2023-01-16 Thread Simon Tournier
Hi, On lun., 16 janv. 2023 at 17:02, Csepp wrote: > It would be worth it for importers. If I remember correctly, the > reasoning for writing importers as Guile modules is reducing Guix's > closure size, but that's nonsense when it comes to importing packages, > because 99.% of the time you

libgit2 shallow clone (was Re: Packaging Grafana)

2023-01-16 Thread Simon Tournier
Hi, On dim., 15 janv. 2023 at 12:12, Csepp wrote: > Honestly, I think our Go importer needs to be rewritten to just use Go's > libraries instead of trying to replicate all functionality in Guile. It > does a lot of... let's say sub-optimal things currently, like cloning > full git repos, when

Re: "Could not resolve host" while using git-fetch

2023-01-16 Thread Simon Tournier
Hi, On sam., 14 janv. 2023 at 01:31, Zach Philipchook wrote: > The package definition: https://pastebin.com/UJEm396s > guix command I'm executing: `guix package --manifest=manifest.scm -v3` This works for me. > guix log: https://pastebin.com/NYbH8iGX Hum, it appears something is wrong with

Re: attempt to create a profile

2023-01-11 Thread Simon Tournier
Hi, On Mon, 09 Jan 2023 at 15:59, Gottfried wrote: > can I use two profiles at the same time? Yes. Although note that it depends on what they contain: package One from profile A can be exclusive with package Two from profile B. Therefore, combining profile A and B to create on the fly a new

Re: guile "Fatal Error: glibc detected an invalid stdio handle"

2023-01-11 Thread Simon Tournier
Hi, On lun., 09 janv. 2023 at 11:34, Paul Jewell via wrote: > After spending time dissecting my configuration, I narrowed the problem > down a this line in my .inputrc file: > > set enable-keypad on > > If I removed this line, everything works as normal. > > It seems like this is a bug, but I

Re: [SOLVED] Re: emacs-xwidgets not working (gdk-pixbuf-error-quark) also no icons

2023-01-09 Thread Simon Tournier
Hi, On dim., 08 janv. 2023 at 21:06, Moisés Simón wrote: > I would really love to know what was wrong with my system as I didn't > even reinstall gtk+ on it, just on a shell container. Probably messed up some environment variables and the reboot cleaned all up. Well, it is hard to know

Re: guix package build: can distcc be used?

2023-01-09 Thread Simon Tournier
Hi, On ven., 06 janv. 2023 at 10:48, Vagrant Cascadian wrote: > I believe distcc would allow sending the workload of individual parts of > a single package to multiple machines, so a bit finer grained than guix > offload, which can only send a single package (or more accurately, > derivation?)

Re: attempt to create a profile

2023-01-06 Thread Simon Tournier
Hi, On Wed, 28 Dec 2022 at 15:09, Gottfried wrote: > Which commands can I use to enter and close my new profile? To enter, you just need to ’source path/to/some-profile/etc/profile’. However, you cannot “deactivacte“; unset the environment variables and restore the previous ones. Maybe, the

Re: gcc-toolchain-4.8 build failure

2023-01-06 Thread Simon Tournier
Hi Petr, On Mon, 26 Dec 2022 at 09:07, phodina via wrote: > So I grabbed the gcc-toolchain-4.8 and found out it's broken and > doesn't build without errors. [1] Note gcc-4.7 is also failing, http://ci.guix.gnu.org/build/98496/details but gcc-4.9 builds fine,

Re: emacs-xwidgets not working (gdk-pixbuf-error-quark) also no icons

2023-01-06 Thread Simon Tournier
Hi, On Sun, 01 Jan 2023 at 20:58, Moisés Simón wrote: > Note I have run it in container to make sure my system or profile > configuration is not messing with it, but I get the same error running > in it on my profile. Installing it on system gave same results. This invocation, guix shell

The Guix Days! (FOSDEM 2023)

2022-12-06 Thread Simon Tournier
Dear all, We are organizing the Guix Days, satellite to FOSDEM. Guix Days are 2 days for hacking and discussion open to everybody interested in Guix, from core developer to newcomer. When? The 2 days right before FOSDEM: Thursday and Friday, February 2nd and 3rd, 2023. Where? The usual

<    1   2