Re: guix build reports "unknown package" when building own package.

2025-02-13 Thread Ian Eure
Hi Rochfort, Your define-module form has an error, so Guile can't load it, so it doesn't see the package. The "warning: expected keyword arg" message is trying to communicate this. I'm on a phone, so can't give you a link, but any module in (gnu packages) will have an example you can follow.

Re: Downloads caused by guix package -u Vs guix system reconfigure

2025-02-10 Thread Ian Eure
Hi Laurence, Laurence Rochfort writes: Hello all, Relatively new guix system user. On a new install of guix system, I did a "guix pull && guix package -u". It said I was up-to-date. I then did a "guix system reconfigure", and that caused a download of 640Mb of substitutes. Could some

Re: I want to pin exact versions of software in guix shell. Do I need channels information?

2025-02-10 Thread Ian Eure
Hi Carlo, Carlo Ascani writes: On Sunday, February 9th, 2025 at 6:49 PM, Ian Eure wrote: The quoted part of the manual answers your question. The reason why this is so is that the version of a package available may change between channel revisions, so if you pin foobar@1.2.3, then `guix

Re: I want to pin exact versions of software in guix shell. Do I need channels information?

2025-02-09 Thread Ian Eure
Hi Carlo, Carlo Ascani via writes: Hi all, I would like to create a shell with pinned versions of elm and make. Questions: - To pin a version of a package, is it enough to use @? - Should I put in channels information? In the manual I read this: If you want to “pin” your software enviro

Re: question about proprietory packages

2025-01-08 Thread Ian Eure
Hi, On Wed, Jan 8, 2025, at 10:26 PM, gfp wrote: > Hi, > thanks for explaining this. > > 1. > I understood that > EFI is on the top > it runs Grub > and Grub runs the init system shepherd. EFI is the modern replacement for the legacy BIOS. It's typically a proprietary firmware which is supplied

Re: Compiling aarch64-linux packages on x86_64-linux

2025-01-05 Thread Ian Eure
for me now. -- Ian On Sun, Jan 5, 2025, at 6:03 PM, Ian Eure wrote: > In "(guix) Additional Build Options", documenting the --system > option, > the Guix manual says: > > Similarly, when transparent emulation with QEMU and > ‘binfmt_misc’ > is

Compiling aarch64-linux packages on x86_64-linux

2025-01-05 Thread Ian Eure
In "(guix) Additional Build Options", documenting the --system option, the Guix manual says: Similarly, when transparent emulation with QEMU and ‘binfmt_misc’ is enabled (*note ‘qemu-binfmt-service-type’: Virtualization Services.), you can build for any system for which a QEMU ‘

Re: Problems making a bootable aarch64-linux system image

2025-01-02 Thread Ian Eure
Hi all, I was able to get this working by looking at another user's VM config.scm. I believe my error is that I provided a list of packages, instead of appending to %base-packages. -- Ian On Thu, Jan 2, 2025, at 5:28 PM, Ian Eure wrote: > Hi Christopher, > > On Thu, Jan 2, 20

Re: Problems making a bootable aarch64-linux system image

2025-01-02 Thread Ian Eure
Hi Christopher, On Thu, Jan 2, 2025, at 9:03 AM, Christopher Baines wrote: > Ian Eure writes: > >> I’ve tried multiple paths to get this working, including building both >> installer and system images on arm64 and amd64 hardware. My current >> approach is to make a boo

Problems making a bootable aarch64-linux system image

2025-01-01 Thread Ian Eure
Hi folks, I’m trying to get Guix System running in a QEMU VM on Apple ARM64 hardware[1]. This has been much more challenging than I expected, and I haven’t been able to get it working at all. I’m completely stuck and could use some advice and/or a working configuration I can hack on. I’ve

Re: how can I open files through packages installed in different profiles

2024-12-09 Thread Ian Eure
gfp writes: Hi, 1. Approx. 2 years ago some Guixers proposed to create profiles in order to have not too many packages in the main profile, which makes it easier to update the profile. If during updating the profile one package creates trouble, the whole updating process stops. I had those

Re: Packaging Proton Bridge: Progress Report #1

2024-12-09 Thread Ian Eure
Hi Marek, Marek Paśnikowski writes: I copied and extended the invocation of "make" from the gnu-build-system: (arguments (list #:phases '(modify-phases %standard-phases (add-before 'build 'make-project (lam

Re: how can I open files through packages installed in different profiles

2024-12-09 Thread Ian Eure
Hi gfp, gfp writes: I have got 17 Profiles in: /home/gfp/Projekte/Calibre /Emacs /Libreoffice etc. Would that mean to sorce all 17 profiles in one go? or only two at a time? I agree with Steve: you shouldn’t use profiles like this. B

Re: Packaging Proton Bridge: Progress Report #1

2024-12-09 Thread Ian Eure
Hi Marek, On Mon, Dec 9, 2024, at 4:47 PM, Marek Paśnikowski wrote: > > Does this mean I will have to `make` the project before `building go`? > I'm not sure how the go-build-system interacts with stuff like this, or what complexity the Makefile may bring. Probably the simplest thing is to add

Re: Packaging Proton Bridge: Progress Report #1

2024-12-09 Thread Ian Eure
Hi Marek, On Mon, Dec 9, 2024, at 4:24 PM, Marek Paśnikowski wrote: > I managed to break through version incompatibilites thanks to discovery of > the > guix:build-system:go:go-version->git-ref function, which allowed me to use > the > specifications in go.mod files directly. > > I am currentl

Re: Packaging Proton Bridge: cryptic compilation failure

2024-11-30 Thread Ian Eure
Hi Marek, On Sat, Nov 30, 2024, at 6:56 PM, Marek Paśnikowski wrote: > On sobota, 30 listopada 2024 19:08:49 CET Cayetano Santos wrote: >> >sam. 30 nov. 2024 at 17:26, Marek Paśnikowski > wrote: >> > Hello Guix >> > >> > I am towards the end of a first pass of packaging the Proton Bridge >> > p

Re: Packaging Proton Bridge: cryptic compilation failure

2024-11-30 Thread Ian Eure
Hi Marek, On Sat, Nov 30, 2024, at 4:26 PM, Marek Paśnikowski wrote: > Hello Guix > > I am towards the end of a first pass of packaging the Proton Bridge program > to > access my Proton Mail with KMail. > > I have worked through and learned about many peculiarities of Golang build > system. As

Modular home configuration

2024-11-09 Thread Ian Eure
Hi folks, I’m trying to make my home configuration more modular, so I can better support system variances. For example, I have a laptop I use interactively, and a headless machine that runs Cuirass. It’s advantageous to share certain aspects of the home configuration between the two machine

Re: How to pack development inputs from a package

2024-09-20 Thread Ian Eure
Hi Reza, Reza Housseini writes: Hi Guixers From guix shell I can call guix shell -D -f guix.scm Now I want to pack those into a container with guix pack, but there is no equivalent command there, how would I achieve this, is there an expression I could use? Something along the way

Re: Could anyone using EXWM share their guix config?

2024-09-14 Thread Ian Eure
Oleander via writes: How do you start EXWM automatically on tty login (without a display manager)... Guix seems to have some unique difficulties with `startx', which I don’t fully understand, but I’ve seen several folks in #guix struggling with it. I use the default gdm display manager.

Re: /etc/config.scm issues after modifying

2024-08-24 Thread Ian Eure
Hi Patrick, Patrick Pippen writes: https://paste.debian.net/1327458 Getting this error: /etc/config.scm:23:0 : error: %desktop-services: invalid field specifier I made these modifications trying to 1) not use substitutes and compile from source and add bspwm so that I can login into it

Re: How to have guile module available during sudo system reconfigure?

2024-08-22 Thread Ian Eure
Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: [[PGP Signed Part:Undecided]] Hello Guix, I did run into an interesting (frustrating?) problem. I created a package that bundles few Guile modules of my making. I installed it into my home environment and wanted to use helpers from it in my sy

Re: Apply a patch to a given package definition

2024-08-20 Thread Ian Eure
Hi Cristoph, Christoph Buck writes: Hi Ian! You can have your source inherit from the original package’s, but with modifications -- just like the package itself. This might not be exaxtly right, but should give you the right idea: (define-public u-boot-new-cool-board-arm (package

Re: Apply a patch to a given package definition

2024-08-19 Thread Ian Eure
Hi Christoph, Christoph Buck writes: Hi! How do i define a new package which is just a variation of a given package defined in guix? In my concrete example i try to add a new board definition file via a patch to the u-boot bootloader. What i come up with, looks like this: ``` ;; Define

Re: Entering the sudo password before guix pull when updating the system

2024-08-19 Thread Ian Eure
Hi Oleander, Oleander via writes: How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? I don’t believe there’s a reasonable way to do what you want. I think your best option is to configure your sudoers file

Re: Handling conflicting profiles?

2024-04-22 Thread Ian Eure
Hi, please see my recent guix-devel post, "Fallout from recent nss-certs changes." On April 22, 2024 5:39:12 PM PDT, Marc Coquand wrote: > >Heya! > >I recently upgraded Guix with `guix upgrade`, and now when I try to >reconfigure I get the error > >guix system: error: profile contains conflictin

Re: Error when trying to run "docker-compose up"

2024-03-17 Thread Ian Eure
Samuel Schmidt writes: Hello, I am facing the same problem, but I have to use docker-compose.  I guess there are no plans to fix this atm? :/ Or did you find any help regarding this problem? Am 17.01.2024 um 21:53, Rodrigo Morales schrieb:Rodrigo Morales writes: Does anyone know wha

Re: Guix System automated installation

2024-02-27 Thread Ian Eure
messages intact Csepp writes: Ian Eure writes: Hello, On Debian, you can create a preseed file containing answers to all the questions you’re prompted for during installation, and build a new install image which includes it. When booted, this installer skips any steps which have been preco

Re: Laptop won’t boot after Guix install

2024-02-20 Thread Ian Eure
Julien Lepiller writes: 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

Unlocking Gnome keychain in EXWM session

2024-02-17 Thread Ian Eure
Hi, When I log into my EXWM session, it doesn’t unlock the Gnome keychain. This causes the first program I open which needs something from the keychain to prompt me to unlock it. Is there some way to unlock this on login in non-Gnome sessions? I looked in (gnu home services), but didn’t see

Re: Network error when cargo-build-system fetches dependency from external repository specified in Cargo.toml

2024-01-30 Thread Ian Eure
Hi Airi, Airi via writes: Hello, I am trying to package a program using the cargo-build-system. During the build phase, it tries to fetch a dependency specified in the Cargo.toml file, but fails with a network issue. But when built outside of Guix with a hand-typed "cargo build --release",

Re: How to disable gnome-display manager?

2024-01-19 Thread Ian Eure
Hi Rodrigo, (answering in reverse order because I think that makes more sense) Rodrigo Morales writes: I have two questions: 2. I wouldn't need to answer the first question if I could make GNOME Display Manager to use Sway (currently, it only uses EXWM and I don't see a button to

Re: Laptop won’t boot after Guix install

2024-01-13 Thread Ian Eure
Felix Lechner writes: Hi Ian, On Mon, Jan 08 2024, Roman Riabenko via wrote: Sometimes, the installer makes a BIOS-compatible installation which fails to run from UEFI. I like to check 'efibootmgr' inside the installer. Alternatively, you can look at the NVRAM contents with evivars. (I

Re: Laptop won’t boot after Guix install

2024-01-13 Thread Ian Eure
Roman Riabenko writes: [[PGP Signed Part:Undecided]] У пт, 2024-01-05 у 19:41 -0800, Ian Eure пише: ... After the Guix install, the laptop doesn’t boot -- the firmware shows a boot device selection menu, rather than bootint into Guix. ... Sometimes, the installer makes a BIOS-compatible

Re: Laptop won’t boot after Guix install

2024-01-13 Thread Ian Eure
Julien Lepiller writes: 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

Laptop won’t boot after Guix install

2024-01-05 Thread Ian Eure
Hello, I have Guix running on one computer already, and wanted to set it up on another, a ThinkPad L390 Yoga. This was previously running Debian, but I wiped it to put Guix on, by running `sudo dd if=/dev/urandom of=/dev/nvme0n1 bs=1M'. After the Guix install, the laptop doesn’t boot -- the

Re: [META] How to effectively ask for help with Guix?

2024-01-02 Thread Ian Eure
Hi Ben, I’ve seen some of your posts, and haven’t had any help to offer. Your questions remind me of others I’ve seen, where someone gets into the weeds of a problem and asks weedy questions, when they should be asking big picture questions. I don’t know for if that’s the case here, but it s

Re: LD_LIBRARY_PATH issues when compiling package

2024-01-02 Thread Ian Eure
Alexander Asteroth writes: Dear all, (snip) Now I have basically three questions: 1. how can I advice the package build process (see [0]) to set the LDFLAGS correctly? (shouldn't this be done by adding `(input [...] libffi [...] )` to the package description?) For the few

GuixSD automated installation

2024-01-02 Thread Ian Eure
Hello, On Debian, you can create a preseed file containing answers to all the questions you’re prompted for during installation, and build a new install image which includes it. When booted, this installer skips any steps which have been preconfigured, which allows for either fully automated

Re: Emacs C source

2023-12-20 Thread Ian Eure
Kristoffer Ström writes: Hello! I'm running emacs in a guix shell, and wonder how/where to get the C source code directory for xref-find-definitions. I've grepped the /gnu/store/*emacs but cannot find the C source, is there some special package/output or procedure needed to get it include