guix.scm and manifest.scm environment

2024-01-09 Thread jgart
Hi Guixers, Are the modules that are automatically pulled in to a guix.scm or manifest.scm documented? Those files are just scheme code but specifications->manifest is available in the global namespace, for example. What else is there by default? all best, jgart

Instructions for generating the exact ISO on homepage

2023-12-29 Thread jgart
Hi Guixers, What if we provide explicit instructions for generating the exact ISO on the homepage in a reproducible fashion? https://guix.gnu.org/en/download/ Let's assume that the instructions are written for a new user who's not intimately familiar with Makefiles and doesn't know that their

--debug LEVEL not documented in CLI

2023-11-14 Thread jgart
Hi Guixers, --debug is not documented in the CLI. What debug LEVEL's are permissible? For example, is 79 allowed? Or 5, 4, 3, 2, 1? What is the difference between the LEVELs? Where is the input LEVEL cutoff? At 6? The --help says the following only: --debug=LEVEL produce debugging out

Re: -v, --verbosity=LEVEL use the given verbosity LEVEL

2023-10-05 Thread jgart
Some prescriptive logging documentation for inspiration: https://textual.textualize.io/guide/devtools/#increasing-verbosity

Re: -v, --verbosity=LEVEL use the given verbosity LEVEL

2023-10-01 Thread jgart
time to do that research and write a good explanation. I'm in no rush so I will try unless someone else gets to it first. Might be good to talk with the person who wrote that logging to discuss the information and concepts involved in the context of guile and guix. all best, jgart

Re: -v, --verbosity=LEVEL use the given verbosity LEVEL

2023-09-26 Thread jgart
e --verbosity flag to answer that question succinctly and in the general across guix subcommands beyond just describing it as "quiet output". WDYT, nitpick? maybe/maybenot jgart

Re: -v, --verbosity=LEVEL use the given verbosity LEVEL

2023-09-26 Thread jgart
Hi Maxim, But it's not below in the --help of `guix build` command. It just says > use the given verbosity LEVEL ``` [jgart@fedora_user ~]$ guix build --help ... -d, --derivations return the derivation paths of the given packages --checkrebuild items to check

Re: -v, --verbosity=LEVEL use the given verbosity LEVEL

2023-09-26 Thread jgart
Hi Maxim, That's awesome documentation! Thanks for doing that. Approved. Do you want to merge this? yours truly, jgart

-v, --verbosity=LEVEL use the given verbosity LEVEL

2023-09-23 Thread jgart
Hi Guixers, Where should the user of the Guix command-line interface be expected to read about the verbosity LEVEL argument that they can pass to `--verbosity` and that is also valid? all best, jgart

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

2023-05-14 Thread jgart
Hi, Can this be closed now given the recent mention of --sysconfdir? https://issues.guix.gnu.org/47401#1 all best, jgart

Re: firefox window crashes when opening dialog box on xfce

2023-05-13 Thread jgart
Good idea. I'll try that and get back to you. Thanks

firefox window crashes when opening dialog box on xfce

2023-05-13 Thread jgart
hi, My Firefox window crashes when opening a dialog box using xfce-service-type on Guix System. Any thoughts on where I can start debugging this?

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

2023-05-07 Thread jgart
Hi Maxim, I just read 26a788ae06. That reads great! Thank you for improving the documentation on that. It is much appreciated. all best, jgart

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

2023-05-07 Thread jgart
But, Efraim just gave a nice TLDR. I'll try to find sometime to rework what he said into the docs unless someone else gets to it first ;() all best, jgart

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

2023-05-07 Thread jgart
> Sorry. I meant "./configure --localstatedir=/var --sysconfdir=/etc". Hi, thanks. Is the --sysconfdir necessary? I've never used that. What does it mean or where should I get the TLDR/RTFM(L) on it?

guix build: error: gcry_md_hash_buffer: Function not implemented

2023-05-05 Thread jgart
Look what I saw today: guix build: error: gcry_md_hash_buffer: Function not implemented WDYT I was trying to do the following: make -j5 && ./pre-inst-env guix build nnn TMI? help2man: can't get `--help' info from guix home Try `--no-discard-stderr' if option outputs to stderr make[2]: [Makefi

Re: shebang for python script?

2023-01-27 Thread jgart
> An attempt here: <https://issues.guix.gnu.org/61094> Awesome! Thanks for sending that. Much appreciated! all best, jgart

Re: shebang for python script?

2023-01-26 Thread jgart
Hi, thanks!! Should we document this approach in the manual somewhere? If so, where would be a good place to mention how to do this? > --8<---cut here---start->8--- > #!/usr/bin/env -S guix shell python -- python3 > import numpy as np > a = np.array([1,2])

Re: shebang for python script?

2023-01-24 Thread jgart
or this shebang pinned to a particular commit? #!/usr/bin/env nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.numpy ])" #!nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/d373d80b1207d52621961b16aa4a3438e4f98167.tar.gz import numpy as np a = np.array([1,2]) b = np.

shebang for python script?

2023-01-24 Thread jgart
Hi Guixers, What's the current recommended way to do this in Guix? #!/usr/bin/env nix-shell #!nix-shell -i python3 -p "python3.withPackages(ps: [ ps.numpy ])" import numpy as np a = np.array([1,2]) b = np.array([3,4]) print(f"The dot product of {a} and {b} is: {np.dot(a, b)}")

Tilix launches fine from a terminal but fails to launch from GNOME main app launcher (window key press tilix)

2023-01-21 Thread jgart
Hi, Tilix launches fine from a terminal (I tested on gnome-terminal) but fails to launch from the GNOME main app launcher (window key press tilix). I'm looking into it but just wanted to share in case anyone knows offhand what to do here. all best, jgart

Gajim: Sorry, that should not have happened

2023-01-07 Thread jgart
guix home describe Generation 242 Jan 06 2023 17:44:09(current) file name: /var/guix/profiles/per-user/jgart/guix-home-242-link canonical file name: /gnu/store/di22nbf4zi5lvvs74xm1byslygb1183h-home channels: guix: repository URL: https://git.savannah.gnu.org/git/guix.git

Fwd: PinePhone Pro & Guix

2022-12-28 Thread jgart
Sorry! I forgot to change the Subject for the digest. I hope this works... Forwarded message --- From: "jgart" To: help-guix@gnu.org CC: phod...@protonmail.com, gnu...@cyberdimension.org, forevercomput...@gmail.com, fah...@gmail.com Sent: December 28, 2022 10:51 PM S

Re: PinePhone Pro & Guix

2022-12-28 Thread jgart
Hi, I sent all three sxmo packages from guixrus for review: https://issues.guix.gnu.org/60394 https://issues.guix.gnu.org/60395 https://issues.guix.gnu.org/60396 best, jgart https://whereis.みんな

Re: Help-Guix Digest, Vol 85, Issue 50

2022-12-28 Thread jgart
m this week: https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/suckless.scm#L214 https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/suckless.scm#L233 https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/suckless.scm#L255 all best, jgart https://whereis.みんな/

geiser-repl--wait-for-prompt: No prompt found!

2022-12-28 Thread jgart
Hi Guixers, Any idea why I might be getting this error message when starting geiser with guile on a guix module? > geiser-repl--wait-for-prompt: No prompt found! Here's my "perfect setup": https://git.sr.ht/~whereiseveryone/conf/tree/gnome/item/emacs.el#L133

%compiled-modules deprecation

2022-12-14 Thread jgart
hi, in derivations.scm the folling line mentions that this is deprecated: 1190:51(define* (%compiled-modules store modules ;deprecated what is the new api?

Trying to build lilypond but guix downloads firefox?

2022-12-14 Thread jgart
... all best, jgart

doubly quoted list in gnu-build

2022-12-06 Thread jgart
hi, why do the configure-flags and make-flags need to be doubly quote in the gnu-build procedure? (define* (gnu-build name inputs #:key guile source (outputs '("out")) (search-paths '()) (bootstra

Lispy Guile?

2022-11-29 Thread jgart
Hi Guixers! Has anyone gotten Guile, Guix, and lispy to work with lispy--eval-scheme? https://github.com/abo-abo/lispy/blob/9568ee1aa5ac12e0ed03b9904b77c7a5bc4bb2e2/le-scheme.el#L40 https://github.com/abo-abo/lispy/issues/640

How do you do this with the new style?

2022-11-28 Thread jgart
Hi, how do you do the following with the new style? (inputs `(("qbe" ,qbe) ("gcc:lib" ,gcc "lib")))

tilix tilix tilix

2022-11-26 Thread jgart
starting phase `check' _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. ldc2 -O -Igenerated/gtkd -Idemos/gtkD/TestWindow -c demos/gtkD/TestWindow/TestText.d -ofdemos/gtkD/TestWindow/TestText.o ldc2 -O -Igenerated/gtkd -Idemos/gtkD/TestWindow -c demos/gtkD/TestWindo

shepherd logs gui

2022-11-25 Thread jgart
Could GNU shepherd benefit from an app like this? https://gitlab.gnome.org/GNOME/gnome-logs

Re: build all dependents?

2022-11-22 Thread jgart
On Tue, 22 Nov 2022 14:29:43 -0600 jgart wrote: > On Tue, 22 Nov 2022 12:06:43 -0800 Felix Lechner > wrote: > How about "dag kiddies"? or dag kittens?

Re: build all dependents?

2022-11-22 Thread jgart
On Tue, 22 Nov 2022 12:06:43 -0800 Felix Lechner wrote: > Here, I would have used "consuming packages" instead of dependents, > because the former is so clearly distinct from the ubiquitous but > ambiguous word "dependencies". How about "dag kiddies"? > Happy hacking, and thank you all for your

build all dependents?

2022-11-21 Thread jgart
hi guixers, is there a command to build all dependents of a package? for example, i'd like to build all the dependents of python-identify that are packaged in GNU Guix: $ guix refresh python-identify -l Building the following 14 packages would ensure 28 dependent packages are rebuilt: python-m

What passes in the inputs to the lambda?

2022-11-20 Thread jgart
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")) (guile-dir (assoc-ref inputs "guile")) (guile (string-app

guix refresh only python-*

2022-11-20 Thread jgart
hi, how can I see only what python packages can be updated with guix refresh? all best, jgart

Channel as a Package?

2022-11-18 Thread jgart
Hi, What does it mean for a channel to be a package? For example, we have a channel-build-system which turns a channel into a package. Why was this needed? What purposes did it serve? Why would we want to build Guix instances from channel specifications? all best, jgart

Re: (length all-python-packages)

2022-11-16 Thread jgart
On Wed, 16 Nov 2022 15:19:10 +0100 Andreas Enge wrote: > Hello, > > Am Tue, Nov 15, 2022 at 08:36:35PM + schrieb (: > > For me, this returns "2749". > > more crudely, I tried this on the command line: >./pre-inst-env guix package -A ^python | wc > which returns 2165, or >./pre-inst-e

Re: what might be wrong with my nightly function?

2022-11-16 Thread jgart
On Wed, 16 Nov 2022 07:08:10 +0100 Julien Lepiller wrote: > 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 Thanks for catching that one! I think the oth

what might be wrong with my nightly function?

2022-11-15 Thread jgart
hi, what might be wrong with this function? ;; let's tracking nightlies! (define* (make-olive-nightly #:key (olive-commit "3302c3633c665fd32152217f254b53654945f2dd") (olive-hash (base32 "0pp6dxn53aw6iiy9wnbkkmg8mcqpx8wy6nify8j4hrzvzrmks82c"))) (package (inherit oli

warning: failed to install locale: Invalid argument

2022-11-15 Thread jgart
Hi, Any idea where this warning may be coming from? Let me know what details I should provide to debug this. bash_profile? bashrc? I'm on void linux. Could this be an issue caused by not running nscd properly? I think this might also be related to the reason why my geiser-guile is not working

(length all-python-packages)

2022-11-15 Thread jgart
Hi, How can I list how many Python packages we currently have in master? What Guix APIs do you suggest that I hook into to determine this?

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread jgart
On Tue, 15 Nov 2022 18:08:23 + "(" wrote: > Heya, > > On Tue Nov 15, 2022 at 6:05 PM GMT, jgart wrote: > it installs the extension code to #$output/share/guix/extensions. When it's > installed that directory should be added to GUIX_EXTENSIONS_PATH > au

Re: Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread jgart
On Tue, 15 Nov 2022 16:42:29 + "(" wrote: > You don't need to anymore, because of commit bbc1735, no? hi paren, Does bbc1735 work on foreign distros also or ¯\_(ツ)_/¯?

Does define-command automatically add the subcommand to the guix CLI?

2022-11-15 Thread jgart
hi, Does define-command automagically add the subcommand to the guix CLI? For example, guix-format: https://github.com/bqv/rc/blob/live/guix/scripts/format.scm#L21

Re: All 75 channel news entries are valid

2022-11-15 Thread jgart
On Tue, 15 Nov 2022 07:04:42 +0100 Julien Lepiller wrote: > Hi jgart, are you trying to use -L in the guix repository? Use pre-inst-env > instead. Silly me. jgart needs a rubber ducky gnu by their desk.

Re: guix search across core-updates?

2022-11-15 Thread jgart
On Tue, 15 Nov 2022 07:18:27 +0100 Julien Lepiller wrote: > Hi jgart, > > I think you could try with the time machine: > > guix time-machine --branch=core-updates -- search … Emmett "Doc" Brown blushes...

guix search across core-updates?

2022-11-14 Thread jgart
hi, how can I search for packages across the core-updates branch with `guix search` and without ./pre-inst-env?

Re: geiser-edit-symbol-at-point

2022-11-14 Thread jgart
On Sat, 12 Nov 2022 10:48:54 -0500 Jake Shilling wrote: > > If I'm reading this right, I belive that this macro is looking for the > 'add-after symbol--as a symbol--and not looking for any value referenced > by it. Does geiser work on the macroexpanded forms in %modify-phases that are not macro

All 75 channel news entries are valid

2022-11-14 Thread jgart
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: failed to load '(build-aux build-self)': no code for module (build-aux build-self) ./build-aux/build-self.scm:19:0: warning: module name (build-self)

Re: geiser-edit-symbol-at-point

2022-11-14 Thread jgart
On Mon, 14 Nov 2022 10:16:33 -0500 Jake Shilling wrote: > On 2022-11-14 09:01, jg...@dismail.de wrote: > If I evaluate this file ... Cool, what did you do to evaluate the file exactly? Where you on Guix System when this worked for you?

Re: fatal empty ident name (for <>) not allowed

2022-11-12 Thread jgart
On Sat, 12 Nov 2022 15:05:27 +0100 Ricardo Wurmus wrote: > You’re working with an incomplete attachment. Story of my life >wget -O- https://issues.guix.gnu.org/issue/58898/patch-set/ | git am Thanks!

Re: fatal empty ident name (for <>) not allowed

2022-11-12 Thread jgart
On Sat, 12 Nov 2022 14:19:44 +0100 Ricardo Wurmus wrote: > How do you apply the patches? How you showed me ;() wget -O- https://issues.guix.gnu.org/issue/58898/attachment/9/ | git am

Re: geiser-edit-symbol-at-point

2022-11-11 Thread jgart
On Fri, 11 Nov 2022 18:07:49 -0600 jgart wrote: > I feel like I've made some progress... I can also geiser-edit-symbol-at-point the following snippet (format #t ^^^ It jumps me to the source location here: /gnu/store/qlmpcy5zi84m6dikq3fnx5dz38qpczlc-guile-3.0.8/share/guile/3

Re: geiser-edit-symbol-at-point

2022-11-11 Thread jgart
On Fri, 11 Nov 2022 16:15:18 -0600 jgart wrote: > On Fri, 11 Nov 2022 17:06:07 -0500 Jake Shilling > wrote: > I can call geiser-edit-symbol-at-point but it doesn't do anything and > the *Messages* buffer doesn't say anything helpful... I was able to geiser-edit-symbo

Re: geiser-edit-symbol-at-point

2022-11-11 Thread jgart
On Fri, 11 Nov 2022 17:06:07 -0500 Jake Shilling wrote: > I'm sure someone who actually knows what they're doing could help more > than me, but my thought would be to start by debugging guile outside of > Geiser. I would try to spin up a repl and see if I could import one of > the modules from ~/

Re: geiser-edit-symbol-at-point

2022-11-11 Thread jgart
On Fri, 11 Nov 2022 15:42:13 -0600 jgart wrote: > On Fri, 11 Nov 2022 15:43:26 -0500 Jake Shilling > wrote: > > On 2022-11-11 12:40, jg...@dismail.de wrote: If I could just get geiser-edit-symbol-at-point to work I'll be the happiest Guixer in the world. I could care less

Re: geiser-edit-symbol-at-point

2022-11-11 Thread jgart
ystem (void linux) with geiser? I should check to see if some guix specific environment variables are missing or improperly set in my bashrc or bash_profile? I'm using bash on void linux. all best, jgart

Re: geiser-edit-symbol-at-point

2022-11-11 Thread jgart
On Fri, 11 Nov 2022 09:31:40 -0500 Jake Shilling wrote: > my configuration files, I have a toplevel script which updates the > %load-path: > > ``` > (when (current-filename) > (add-to-load-path >(dirname (current-filename > ``` > > So when I load that file into the repl with C-c C-l a

fatal empty ident name (for <>) not allowed

2022-11-11 Thread jgart
Does anyone happen to know what this error is about? Applying: * gnu/packages/lisp.scm (carp): New variable. fatal: empty ident name (for <>) not allowed It happens when I try to apply v8 of this patch: https://issues.guix.gnu.org/58898#9

Re: geiser-edit-symbol-at-point

2022-11-10 Thread jgart
On Thu, 10 Nov 2022 19:35:27 -0600 jgart wrote: > (with-eval-after-load 'geiser-guile > (add-to-list 'geiser-guile-load-path "~/guix")) Also, why does geiser want you to set up the load path manually for every project? I'd like for the experience to be mo

Re: geiser-edit-symbol-at-point

2022-11-10 Thread jgart
On Thu, 10 Nov 2022 19:35:27 -0600 jgart wrote: When I run that geiser-edit-symbol-at-point I get the following message: geiser-completion--symbol-begin: Symbol’s function definition is void: nil [11 times]

geiser-edit-symbol-at-point

2022-11-10 Thread jgart
Hi, Does geiser-edit-symbol-at-point work for anyone? I've never been able to get it to work with the guix codebase... relevant config I have in my ~/.emacs: ``` (with-eval-after-load 'geiser-guile (add-to-list 'geiser-guile-load-path "~/guix")) ```

guix refuses to build a package even after I...

2022-11-10 Thread jgart
ill trying to build 2.7.0 even though I changed the file in the two places seen above. How comes? jgart

Re: Regex Rules

2022-11-10 Thread jgart
> The manual says it's POSIX regexp, whatever that means :) I'm familiar with posix regex from using vis: https://github.com/martanne/vis But, iirc vis regex are different from Guile's I might be wrong on that. I'll have to check the parity between the two thanks, jgart

Regex Rules

2022-11-09 Thread jgart
Hi, Where can I find all the regex rules for this style of regex? "\\$\\{PG_SHAREDIR\\}/extension" That's a snippet I took at random from guix/ all best, jgart

Re: guix package for void

2022-11-05 Thread jgart
On Sat, 05 Nov 2022 13:43:16 -0500 jgart wrote: > Feel free to answer on that issue. Sorry, answer here instead: https://github.com/void-linux/void-packages/issues/11666

guix package for void

2022-11-05 Thread jgart
Would anyone be interested in investigating this with me or giving some code review? https://github.com/void-linux/void-packages/pull/22359 https://github.com/void-linux/void-packages/pull/22359/files#diff-e3b47a7b1bf851887a5ba65f5641a2f161ea1a8edbf957d3338fc830b866e397 Feel free to answer on

Re: make clean-go breaks my build environment

2022-11-05 Thread jgart
On Sat, 05 Nov 2022 15:37:45 + "(" wrote: > Ahh. I thought you were talking about using ``make -j$(nproc)''. Use that and > it should get > a LOT faster. ah that was the missing step I was talking about. communication over email can be hard sometimes Should we document that running make is

Re: make clean-go breaks my build environment

2022-11-05 Thread jgart
On Sat, 05 Nov 2022 15:17:47 + "(" wrote: > On Sat Nov 5, 2022 at 3:16 PM GMT, jgart wrote: > > I'm just wondering if I'm missing a step after running `make clean-go` > > in order to then get the speed up again. > > I don't think you are. &g

Re: make clean-go breaks my build environment

2022-11-05 Thread jgart
f I'm missing a step after running `make clean-go` in order to then get the speed up again. Do I just need to rebuild a few times so that it then regenerates the go files? all best, jgart

I tried to upgrade vis but...

2022-11-03 Thread jgart
I tried to upgrade vis but visidata was also upgraded... how comes? $ guix upgrade vis guix upgrade: warning: package 'emacs-vis' no longer exists The following packages will be upgraded: vis 0.7 → 0.8 visidata (dependencies or package changed)

Re: which package gets built first?

2022-11-03 Thread jgart
On Fri, 04 Nov 2022 00:34:32 -0500 jgart wrote: > What determines which package gets built first in the following invocation? > > `guix build emacs-zig-mode zig` The reason I ask is because zig got built first but I'm not sure why...

which package gets built first?

2022-11-03 Thread jgart
What determines which package gets built first in the following invocation? `guix build emacs-zig-mode zig`

guix lint inline in your editor emacs?

2022-11-03 Thread jgart
hi, does `guix lint` work inline in your editor as you type, with geiser?

Re: make clean-go breaks my build environment

2022-11-03 Thread jgart
On Wed, 02 Nov 2022 02:48:03 -0500 jgart wrote: > On Wed, 02 Nov 2022 08:20:09 +0100 Ricardo Wurmus wrote: > > > > jgart writes: > > > > > after running `make clean-go` the build gets consistently stuck on > > > this message: > > > > > &

Re: make clean-go breaks my build environment

2022-11-02 Thread jgart
On Wed, 02 Nov 2022 08:20:09 +0100 Ricardo Wurmus wrote: > > jgart writes: > > > after running `make clean-go` the build gets consistently stuck on > > this message: > > > > WARNING: Use of `load' in declarative module (guix ui). Add #:declarative? &

make clean-go breaks my build environment

2022-11-01 Thread jgart
core binding `delete' am i missing a step? all best, jgart

Re: committer.scm

2022-11-01 Thread jgart
On Tue, 01 Nov 2022 07:57:28 +0100 Julien Lepiller wrote: > Try calling it with pre-inst-env. Ohhh, yes that was it. I stopped calling it with pre-inst-env for some reason ;() THNX Now I just need to see how I am going to sort these 150+ crates in an automated fashion...

committer.scm

2022-10-31 Thread jgart
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 ahead of 'origin/master' by 4 commits. (use "git push" to publish your local commits) Changes not stag

New Error For Stackage And Hackage Importers

2022-10-30 Thread jgart
$ 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: unexpected token : (ghc-options (-Wall -fno-warn-missing-signatu

guix import no like lifetime fishy

2022-10-28 Thread jgart
$ guix import stackage carp -r Backtrace: 12 (primitive-load "/home/jgart/.config/guix/current/bin/g…") In guix/ui.scm: 2263:7 11 (run-guix . _) 2226:10 10 (run-guix-command _ . _) In guix/scripts/import.scm: 92:11 9 (guix-import . _) In ice-9/boot-9.scm: 1752:1

guix git authenticate concrete example of syntax

2022-10-25 Thread jgart
I think this general syntax could use a concrete syntax example: https://guix.gnu.org/manual/en/html_node/Invoking-guix-git-authenticate.html wdyt

Re: Don't Unquote Me

2022-10-14 Thread jgart
On Fri, 14 Oct 2022 07:59:14 +0100 "(" wrote: > On Fri Oct 14, 2022 at 5:03 AM BST, jgart wrote: > > Are `unqote`, `quote` and `unquote-splice` functions after they get > > desugared from their reader macro representation? > > Nope; they're special built-i

Don't Unquote Me

2022-10-13 Thread jgart
Are `unqote`, `quote` and `unquote-splice` functions after they get desugared from their reader macro representation? I just know how they work but never thought to think about this before... paren hugs, jgart

Re: Erlang Development with Guix

2022-10-11 Thread jgart
ake sure your shell does not clobber environment variables. guix-shell ./pre-inst-env guix shell erlang erlang-jsx --search-paths --pure ;;; note: source file /home/jgart/7a41616f-b6b7-4643-898b-5771ddf02d32-guix/gnu/packages/python.scm ;;; newer than compiled /home/jgart/7a41616f-b6b7-46

When do you re-export?

2022-10-11 Thread jgart
module from some other module. The docs don't explain why you would want to even do a re-export in the first place... Could someone provide some examples as to why I would want to use this? It would be much appreciated! -- jgart

Re: How can I step through this code?

2022-10-10 Thread jgart
On Mon, 10 Oct 2022 19:49:23 + jbra...@dismail.de wrote: > October 9, 2022 12:30 PM, "jgart" wrote: > > > On Sun, 09 Oct 2022 00:14:23 + jbra...@dismail.de wrote: > > > >> A debugger stepping through the code would have been awesome! >

Re: How can I step through this code?

2022-10-10 Thread jgart
(define (list-index l k) (let loop ((n 0) (l l)) (and (not (null? l)) (if (eq? (car l) k) n (loop (+ n 1) (cdr l)) (list-index '(1 2 3 4 5 6 7 8 9) 2) What is your approach with Guile? all best, jgart

Re: How can I step through this code?

2022-10-09 Thread jgart
On Sun, 09 Oct 2022 00:14:23 + jbra...@dismail.de wrote: > A debugger stepping through the code would have been awesome! Yup it would have! You're right! > Right now I am super in love with Guix. Me too, it's more like a passionate love hate relationship for me tbh. I need couples GNUthera

Re: How can I step through this code?

2022-10-08 Thread jgart
On Sat, 08 Oct 2022 15:03:54 + jbra...@dismail.de wrote: > That's smart! Did you try it? I've been trying to understand how some Guile code works by just throwing it in the Racket debugger. It doesn't always work but when it does it's like driving a fancy cadillac through the stack. It's too

Re: How can I step through this code?

2022-10-07 Thread jgart
On Fri, 07 Oct 2022 21:52:40 + jbra...@dismail.de wrote: > October 7, 2022 3:22 PM, "jgart" wrote: > > > On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: > > > >> I wish guile had a nice debugger like elisp. :) > > > > I wish gui

Re: How can I step through this code?

2022-10-07 Thread jgart
On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: > I wish guile had a nice debugger like elisp. :) I wish guile had a nice debugger like racket or common lisp. :)

Re: the perfect setup with geiser

2022-10-06 Thread jgart
On Thu, 06 Oct 2022 06:44:25 + Philip Kaludercic wrote: > jgart writes: > > > Hi, > > > > this doesn't work for me from the manual: > > > > ;; Assuming the Guix checkout is in ~/src/guix. > > (with-eval-after-load 'geiser-guile &g

the perfect setup with geiser

2022-10-05 Thread jgart
Hi, this doesn't work for me from the manual: ;; Assuming the Guix checkout is in ~/src/guix. (with-eval-after-load 'geiser-guile (add-to-list 'geiser-guile-load-path "~/src/guix")) After changing the patch to where my local guix checkout is at, I'm not able to load guix code in an emacs buf

help-guix@gnu.org

2022-10-05 Thread jgart
Hi, what this the convention for when a function is called &exception-with-kind-and-args or &quit-exception or &error or &exception or &non-continuable for example. What does the & prefix mean?

How can I step through this code?

2022-10-05 Thread jgart
Hi 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 (if #f #f)

debugging %build-inputs

2022-10-05 Thread jgart
environment where I can print %build-inputs. If I can't do it that way what is the Guiler way to achieve what I'm trying to do? Any advice and enlightment would be much appreciated. all best, jgart

  1   2   >