Kicad missing symbols and footprints

2023-10-16 Thread phodina via
Hi, does somebody use Kicad on Guix? If so how do you load the symbols and footprints. The point still to /gnu/store/-kicad-7.0.8 but they are in kicad-symbols and kicad-footprints packages. I've changed the paths appropriately as well as cloned the repo to home dir but I always get just an e

Expose USB devices in Guix container

2023-03-04 Thread phodina via
Hi, I wanted to run an AppImage inside Guix container with FHS. But there is an issue about USB as the application connects to a mobile phoen and install OS there [1]. However, inside the container even the simple lsusb​ does not work. I've exposed the /dev/bus/usb​ . And the open syscall sti

Cross-compile Rust packages

2023-02-08 Thread phodina via
Hello, is there a way to cross-compile the Rust binaries in Guix? I attempted to cross-compile Alacritty for Aarch64 architecture but got error. $ ./pre-inst-env guix build alacritty --target=aarch64-linux-gnu guix build: error: gnu/packages/terminals.scm:1396:2: alacritty@0.9.0: build system `

Re: Python build system cross build

2023-01-29 Thread phodina
> > Review/apply this patch: https://issues.guix.gnu.org/60847 :-) > Wow, thanks Maxim for the patch set! I'll check it out. Petr

Python build system cross build

2023-01-28 Thread phodina via
Hi, what are the necessary steps to allow python-build-system to be cross buildable? ``` guix build gnome-shell --target=aarch64-linux-gnu guix build: error: gnu/packages/gtk.scm:2066:2: python-pycairo@1.20.0: build system `python' does not support cross builds ``` Petr

Re: [PATCH 1/2] gnu: Add python-rx.

2023-01-16 Thread phodina
Hello, sorry for this email, the correct recipient should have been guix-patc...@gnu.org. Petr --- Original Message --- On Monday, January 16th, 2023 at 12:00 PM, phodina via wrote: > Hi, > > here are two Python modules to upstream. > > > Petr

[PATCH 1/2] gnu: Add python-rx.

2023-01-16 Thread phodina via
Hi, here are two Python modules to upstream. PetrFrom 31a313be47093eae5cd211094fa2bea38148f657 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Mon, 16 Jan 2023 11:40:34 +0100 Subject: [PATCH 1/2] gnu: Add python-rx. * gnu/packages/python-xyz.scm (python-rx): New variable. diff --git a/gn

Packaging Grafana

2023-01-15 Thread phodina via
Hi Guix, Grafana [1] is an awesome tool to visualize and analyze various kind of data. It's FOSS project under AGPL3+. The small drawback is it's written in Go and Typescript. As far as I understand for Go there's the file go.mod​ describing the dependencies [2] and for Typescript there's file

Re: Guix supported-systems option

2023-01-14 Thread phodina via
Hi Julien, > I think you have multiple packages with the same name and version, but > different supported systems. Am I right? you are correct. I have multiple package definitions as shown in the attached scheme file. The names and versions are exactly the same, just the origin differs and Gui

Guix supported-systems option

2023-01-14 Thread phodina via
Hello, I have recently uncovered a "feature" that works little bit than described in the manual, During definition of a new variable, package, there is an option called supported-systems​ which defaults to %default-systems​. However, if the package is known to work on certain architecture the

3D print enthusiasts

2023-01-14 Thread phodina via
Hi, I was wondering how many of us are there 3D print enthusiasts. And also what solution do you use? For me it's the following stack Prusa slicer, Prusa i3 Mk3s and Octoprint. Here are also the patches for Octoprint if you want to to test. [1] Also would it make sense to prepare the package f

HELP: Apply local patch in phase

2022-12-27 Thread phodina via
Hello, could you please suggest how to apply local patch using gexp? The reason the patch is not applied to source is that it patches code from submodule which is downloaded after unpack phase finishes. There's nice example in the file 'gnu/packages/games.scm' Here we list the patch as depende

Re: Sourcing a script in phases

2022-12-27 Thread phodina
Hi, thanks for both ideas. I went the easiest path and opted for: (invoke "bash" "-c" "source env.sh && kmk") Not the most polished line of code but it moves me a step ahead :-D FIY: I'm attempting to build Virtualbox Petr

Re: Specifying rust version

2022-12-27 Thread phodina
Hi, >> the documentation for 'cargo-build-system' [1] refers to parameter >> '#:rust' which allows user to specify the Rust compiler version. >> However, I've found this commit >> 9635119a61a9ab1b023558727fcdf1816fdc7fc6 from Maxim which makes all >> 'rust-.*' definitions private. Is there a way

Re: Corefreq: How to specify output in OS definition

2022-12-26 Thread phodina
Hello Efraim, > I was able to get it to say it would be added when I added the following > to my OS config: > > (kernel-loadable-modules (list `(,corefreq "linux-module"))) > > I didn't actually try building or running it though. Adding this line to OS definition fixes the initial issue. Howev

Specifying rust version

2022-12-26 Thread phodina via
stems.html EDIT: Add help-guix@gnu.org to list of recipients. ---- Petr --- Forwarded Message --- From: phodina Date: On Monday, December 26th, 2022 at 9:39 AM Subject: Specifying rust version To: Maxim Cournoyer , Efraim Flashner > Hi, > > the documentation for 'cargo-build-

Sourcing a script in phases

2022-12-25 Thread phodina via
Hi, is there a way to source a script in the phases? I tried to do: (invoke "source" "env.sh") or (invoke "." "env.sh") But it didn't work since they are builtin in the shell. Petr

Corefreq: How to specify output in OS definition

2022-12-24 Thread phodina via
Hi Tobias, how do you specify output "linux-module" for the package corefreq in the OS definition in the field kernel-loadable-modules? Petr

Re: PinePhone Pro & Guix

2022-12-24 Thread phodina
Hello, > Hi all, I'm trying to write a guix code that will generate images for > pinephone pro. Can anyone share the config .scm file if anyone has done it? > Thanks. I do have same interest in mind. The bigger issue I'd say is to have working mobile UI environment as the console would otherwise

Re: Seeking help to create link to libstdc++.so in /lib64

2022-11-10 Thread phodina
> You probably want to use the new > > guix shell -CF ... > > command; the -F is short for --emulate-fhs. > This is probably the best approach to run it in a container with FHS. Petr

Re: How to use/install rust nightly on guix ?

2022-11-01 Thread phodina
Hi, > Hello guys, > Any ideas for the best way to install rust nightly on guix ? I don't find it > in the guix channel, neither rustup. > I need rust nightly to compile a certain project (this one : > https://github.com/paritytech/substrate). > > Thanks, > Mohamed Amine LEGHERABA Not sure it's

Re: Seeking help to create link to libstdc++.so in /lib64

2022-11-01 Thread phodina
Hi Milind, > If instead of file-append, I use string-append like this: > #~(string-append $#gcc:lib "/lib/libstdc++.so.6") > it works to the extent that gcc:lib is expanded correctly, but then > activate-service.scm script contains > (activate-special-files (quote (("/lib64/libstdc++.so.6" > (st

Re: Can't reconnect to WiFi easily

2022-11-01 Thread phodina
Hi, have you looked into the kernel ring buffer? If it's something related to the kernel or the Wifi AP then you'll see some messages regarding loosing signal, authentication, etc. So the `dmesg` command should give us more insight into if it's kernel/Wifi problem or just the SW stack Gnome Sh

Re: OnlyOffice?

2022-10-07 Thread phodina
Sent with Proton Mail secure email. --- Original Message --- On Friday, October 7th, 2022 at 10:07 AM, Ricardo Wurmus wrote: > Yasuaki Kudo y...@yasuaki.com writes: > > > For our IT worker cooperative in preparation, one of my areas of > > interest is the realistic partial alter

Update of packages in gnome.scm

2022-09-14 Thread phodina via
can I minimize the number of rebuilds? I'll then rebase the git commits based on the order of dependencies. Also based on the updated review process I should add the persons from /etc/teams.scm, right? Who should be the best candidates? There's no label such as gui, desktop, gnome

Reuse package output for new package

2022-09-12 Thread phodina via
Hi, is there a way to create a new package by reusing the output of the original derivation and just add files to the new package into the new output? The usecase is PhotoGimp [1] which is set of files which are added to an already built gimp package. There standard way is to inherit the packa

NPM importer or how create packages

2022-08-13 Thread phodina via
Hi, I'd like to package one NPM module [1]. It works with archive format and provides enqueue and dequeue operations. However, I'm not javascript developer and with knowledge of Rust and Go dependencies I expect the package will pull lot of them as simple package definition yielded missing pac

[PATCH 1/3] gnu: openssl-3.0: Update to 3.0.4.

2022-06-22 Thread phodina via
Hi, these patches fixes issue with failing tests for openssl 1.x.x and 3.x.x due to expired certificate. I opted to go for the newest release which has all the patches instead of including the patches and dropping them later. On the slightly dark side it means rebuilding ~1 packages. I no

[PATCH 1/2] gnu: python-pycodestyle: Update to 2.8.0.

2022-06-06 Thread phodina via
Hi Efraim, I've also noticed broken python-flake8 and saw your fix b995c1bd10e445cfdabadb1a5e30935729ce094c. Here are the patches to make it redundant :-) Kind regards PetrFrom 921a6da57ce688587734af3c51a337cc7c77dddb Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Mon, 6 Jun 2022 22:13:03 +0

How to build ramdisk and minimal roots

2022-06-02 Thread phodina via
Hi, I'm attempting to run Guix on Pinenote - eink tablet running Aarch64 [1]. Here's definition for the kernel based on mainline kernel with patches. I build the kernel running this command: guix build -f kernel.scm --target=aarch64-linux-gnu However, I'm still missing ramdisk and I don't know

[HELP] Packaging open source NVIDIA kernel driver

2022-05-12 Thread phodina via
Hi, NVIDIA has released open source kernel driver though the firmware for the GPU is still closed source. [1] I'm currently trying to package it but there are 2 issues I ran into. First if I don't override the build phase it fails to find the utils.mk file as it does not run the make command f

Re: Screen sharing ungoogled-chromium

2022-04-30 Thread phodina via
e discussion. Petr Sent from ProtonMail mobile Original Message On Apr 28, 2022, 7:41 PM, Giovanni Biscuolo wrote: > Hi phodina this sounds like an upstream bug, or do you think it depends on > Guix packaging? phodina via writes: > Hi, > > I'm attempting

Screen sharing ungoogled-chromium

2022-04-27 Thread phodina via
Hi, I'm attempting to share my screen in the chromium browser (100.0.4896.127-1). I've enabled the #enable-webrtc-pipewire-capturer flag and I also have xdg-desktop-portal install on my Guix System. However, when I click in Teams on share the whole desktop, window or just a chromium tab the br

Re: Help: Packaging Bottles

2022-04-25 Thread phodina
directory: 'gsettings' Kind regards, Petr Sent with ProtonMail secure email. --- Original Message --- On Monday, April 25th, 2022 at 1:33 PM, phodina via wrote: > Hi, > > could I ask for help packaging Bottles? Patch provided below. > > When I attempt to

Help: Packaging Bottles

2022-04-25 Thread phodina via
Hi, could I ask for help packaging Bottles? Patch provided below. When I attempt to run the binary I get this message: /gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/bin/bottles Traceback (most recent call last): File "/gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14

Tex packages on core-updates failing

2022-04-21 Thread phodina via
Hi, I'm attempting to build packages on branch core-updates (3f2b0e12f1ef0cc9e13d5ae00275fee8a0fa752d) and it seems some tex packages are broken. I've attempted to fix one of them - texlive-amsmath - but there's another failing - texlive-psnfss-fixed. I've found issue and applied patches abou

Re: Nix on Guix?

2022-04-16 Thread phodina via
Hi, Hello Guix, I'm trying to get the Nix package manager running on Guix. I followed the instructions at: and successfully installed it, but trying to install and/or run any Nix applications gives me permission errors. I i

Re: Kernel panic on new machine

2022-04-14 Thread phodina
Hi, > This is a Guix init issue, not "really" a kernel panic. As you can see, > there is some kind of error in the Scheme code being run at boot time, > but instead of being dropped into a debug shell, it exits, which causes > the kernel to panic. > This is because Guile is running as PID 1, that

Re: Kernel panic on new machine

2022-04-11 Thread phodina via
Hi, I've installed Guix to a new machine and after rebooting the live install I get kernel panic. The machine is Dell x86_64 uefi machine with FAT32 boot partition and Luks partition with Btrfs filesystem with rootfs. Could you please help me? Petr

Herd commands not responding

2022-03-18 Thread phodina via
Hi, lately I've run into issue with commands concerning herd. As I execute the command it never responds with any output. Is there a reason why this would happen? The current fix for me is to go and reboot the laptop. $ guix describe guix f8aa76a repository URL: https://git.savannah.gnu.org/git

Changed tty setting upon exiting docker run

2022-02-10 Thread phodina via
Hi, I've recently discovered an issue with running docker images. Upon exit I can't see any characters I type. The settings of my tty are changed for some reason. They can be fixed by running stty sane but I'd like to ask if somebody also has this issue? Here's what happens: $ stty speed 3840

Re: Guix system build fails on Aarch64

2022-01-13 Thread phodina
Thanks Chris for the detailed response. I'll check the threads and investigate the points you suggested. Petr

Re: Packaging a python package that is using setuptools_rust

2022-01-12 Thread phodina
Hi Hamzeh and Lars, > Hi Hamzeh, > > > I want to package the `etebase-py` library: > > https://github.com/etesync/etebase-py/ > > did you manage to package this library? I’m also interested in it, > > because I want to try etesync-dav. > > Thanks, > > Lars I'm also interested in packaging this P

Re: Guix Home Entertainment SoC Media Server?

2022-01-12 Thread phodina
Hi Blake, > Hiya Guix! > > I just got a TV and want to put together a little SoC home media server for > > it (perhaps with beaglebone black, as that appears to be the recommended > > SoC for Guix). Has anyone had any experience with this? Thoughts? > > I figure it could be a fun use of `Guix Depl

Re: Guix System on Pine64's Quartz64?

2021-12-23 Thread phodina
Hi Mekeor, On Wednesday, December 22nd, 2021 at 9:00 PM, Mekeor Melire wrote: > Hello Guix, > > the manufacturer Pine64 offers a single-board computer called Quartz64 > > (AARCH64 architecture and up to 8GB memory). Is it possible to run Guix > > System on it? Does anybody have experience with

Re: Providing/Submitting substitutes

2021-12-22 Thread phodina
Hi Tobias, > Petr, > > phodina via 写道: > > > However, since I already built the browser and it took several > hours > > > > I'd like to provide it also to other people. > > That's very considerate of you. Thank you! My thanks go to all contr

Re: Aarch64 build of rust-1.39.0 fails

2021-12-22 Thread phodina
Hi Vagrant and Maxim, thanks for the clarification. I do now see that the latest supported version is rust@1.39.0 om Aarch64 [1]. Thanks also Danny Milosavljevic for blog post on bootstrapping rust [2]. Yes, it's great that Rust is used more, however, at the same time it causes problems integr

Providing/Submitting substitutes

2021-12-16 Thread phodina via
Hi, is there a way how to submit built packages to the official substitution server? My point here is I wanted to install ungoogled-chromium- 96.0.4664.93-1 on my x86_64 machine and unfortunately it was not available [1]. Therefore I built it on more powerful machine and shared the outputs of th

Aarch64 build of rust-1.39.0 fails

2021-12-16 Thread phodina via
Hi, I checked the build server and there were no substitutes [1] for rust-1.39.0 for the Aarch64 system. When building natively (Pinebook Pro) there is this problem: $ uname -a Linux valhalla 5.14.9-gnu #1 SMP PREEMPT 1 aarch64 GNU/Linux ~/guix$ guix build rust -K ... > /tmp/guix-build-rust-1.3

Re: Guix system with home-environment

2021-12-13 Thread phodina
Petr ‐‐‐ Original Message ‐‐‐ On Friday, December 10th, 2021 at 8:48 AM, Andrew Tropin wrote: > On 2021-11-08 06:52, phodina wrote: > > > Hi Andrew, > > > > On Wednesday, November 3rd, 2021 at 8:35 AM, Andrew Tropin and...@trop.in > > wrote: > > > > &g

Re: xounalpp package issues

2021-11-18 Thread phodina
Hi, ‐‐‐ Original Message ‐‐‐ On Thursday, November 18th, 2021 at 5:10 PM, Alexander Asteroth wrote: > Dear all, > > I tried to install xournalpp on guix-system (after guix update && guix > > package -u). The installation worked fine (and probably the build does as > > well) but the prog

Re: Running Out of Inodes

2021-11-14 Thread phodina via
Hi Jonathan, On Nov 14, 2021, 12:14 PM, Jaft via < help-guix@gnu.org> wrote: Hey, hey. It could very well be my own ignorance about things but I'm running into an issue that I wouldn't think I'd run into so naïvely; if there's any further light to be shed, I very much appreciate it. I wanted to

Re: Custom libre kernel configuration devolving into Anbox review I guess

2021-11-13 Thread phodina
Tobias, On Saturday, November 13th, 2021 at 1:23 PM, Tobias Geerinckx-Rice wrote: > Petr, > > phodina 写道: > > > Though the issue seems to come from the Archlinux Wiki[1] where > they > > supply wrong CONFIG options. > > Well… yes, it's a wiki. The Arch

Re: Custom libre kernel configuration

2021-11-13 Thread phodina
Thanks Tobia, > You're not matching numbers here: ‘number’ is your chosen variable name, not > magic. It could be ‘foo’. It could be anything, without changing the effect > of this code. > > > ((option . string) > >(string-append option "=\\"" string

Re: Custom libre kernel configuration

2021-11-11 Thread phodina
> I'm not on a GNU system right now but from memory, Kconfig places double > > quotation marks around "string values", doesn't add any around numbers. > > Don't know how liberal it is in accepting foo="42" and bar=string. > > Add "s to you current string fallbakc and add a 'number' quasipattern >

Re: Custom libre kernel configuration

2021-11-11 Thread phodina
Hi Tobias, On Thursday, November 11th, 2021 at 2:23 PM, Tobias Geerinckx-Rice wrote: > On 2021-11-11 13:31, phodina wrote: > > > Throw to key `match-error' with args` ("match" "no matching pattern" > > > > ("CONFIG_ANDROID" . y))

Re: Custom libre kernel configuration

2021-11-11 Thread phodina
Hi Andre, On Thursday, November 11th, 2021 at 1:49 PM, André A. Gomes wrote: > phodina phod...@protonmail.com writes: > > > --- a/gnu/packages/linux.scm > > > > +++ b/gnu/packages/linux.scm > > > > @@ -722,6 +722,14 @@ (define %bpf-extra-linu

Custom libre kernel configuration

2021-11-11 Thread phodina
Hi! I'm attempting to compile a custom linux libre kernel with several additional config options enabled (listed below). Unfortunately I get the following error messages: Throw to key `match-error' with args `("match" "no matching pattern" ("CONFIG_ANDROID" . y))'. I followed the blog post[1]

[PATCH] gnu: Update sdlpop.

2021-11-08 Thread phodina
Hi, Unfotunately the price executable looks for a diractory DATA in the directory of argv[0], therefore the prince executable runs only from the /guix/store/xxx-sdlpop/bin directory. The following patch replaces the former location with the latter. * gnu/packages/games.scm (sdlpop)[arguments]:

Re: Guix system with home-environment

2021-11-07 Thread phodina
Hi Andrew, On Wednesday, November 3rd, 2021 at 8:35 AM, Andrew Tropin wrote: > On 2021-11-02 11:38, phodina wrote: > > > Hi, > > > > I just want to ask if it's possible to create an image which has both the > > operating-system and home-environment config

Re: home-files-service-type file permissions

2021-11-07 Thread phodina
Hi Andrew, On Wednesday, November 3rd, 2021 at 8:24 AM, Andrew Tropin wrote: > On 2021-11-02 11:31, phod...@protonmail.com wrote: > > > Hi Andrew, > > > > Thanks for the development of Guix home. I've recently switch to it from my > > dotfiles. > > > > However, there is one thing that I do not

Re: Incorrect display of system fonts after guix system reconfigure (2021_10_29)

2021-11-02 Thread phodina
Hi, On Sunday, October 31st, 2021 at 10:00 PM, Christophe Pisteur wrote: > Le samedi 30 octobre 2021 à 13:06 +0000, phodina a écrit : > > > Hi Christophe, > > > > have you tried to run > > > > fc-cache -f > > > > to update the font cache to solve

Guix system with home-environment

2021-11-02 Thread phodina via
Hi, I just want to ask if it's possible to create an image which has both the operating-system and home-environment configuration together. Currently the way to build them is to do: ;; Guix System guix system build os.scm ;; Guix Home guix home build home.scm However, if I want to build and t

home-files-service-type file permissions

2021-11-02 Thread phodina via
Hi Andrew, Thanks for the development of Guix home. I've recently switch to it from my dotfiles. However, there is one thing that I do not know how to set. When using the service home-files-service-type I encountered a situation where I'm copying a script: (simple-service 'dotfiles home-files

Re: U-Boot for Raspberry Pi

2021-11-02 Thread phodina
Hi Stefan, On Monday, November 1st, 2021 at 12:09 AM, Stefan wrote: > Hi! > > There is already a patch series available since May – patiently awaiting a > review –, which brings support for the Raspberry Pi. It even supports booting > via NFS, which helps to avoid all the common troubles with

Re: guix package: error: unsupported manifest format

2021-11-01 Thread phodina
On Monday, November 1st, 2021 at 6:09 PM, phodina via wrote: > Hi, > > I've rebooted my laptop with Guix System installed there and I'm faced with > this dreadful message when I attempt to install package with guix package -i > PKG: > > guix package: error: unsup

guix package: error: unsupported manifest format

2021-11-01 Thread phodina via
Hi, I've rebooted my laptop with Guix System installed there and I'm faced with this dreadful message when I attempt to install package with guix package -i PKG: guix package: error: unsupported manifest format I've tried to do guix pull, which succeeded but I'm still unable to do anything. A

Re: U-Boot for Raspberry Pi

2021-10-30 Thread phodina
Hi vagrant, On Sunday, October 31st, 2021 at 12:05 AM, Vagrant Cascadian wrote: > On 2021-10-30, phodina via wrote: > > > I'm trying to run Guix System on Raspberry Pi. In order to do that we > > > > need a way to boot it up. > > > > There is the nonfre

U-Boot for Raspberry Pi

2021-10-30 Thread phodina via
Hi, I'm trying to run Guix System on Raspberry Pi. In order to do that we need a way to boot it up. There is the nonfree Broadcom bootloader, which does the job and it's used by many distributions. However, there is also an open source alternative as U-Boot supports the BCM SoCs. I had look

Re: Incorrect display of system fonts after guix system reconfigure (2021_10_29)

2021-10-30 Thread phodina via
Hi Christophe, have you tried to run fc-cache -f to update the font cache to solve the issue? Petr Original Message On Oct 29, 2021, 12:14 PM, Christophe Pisteur < christophe.pist...@fsfe.org> wrote: Hello, I installed some time ago guix system (1.3) on a Lenovo libreboot wi

Re: Crates versions and their replacement

2021-10-10 Thread phodina
Hi Hartmut, On Tuesday, October 5th, 2021 at 8:19 PM, Hartmut Goebel wrote: > Am 03.10.21 um 09:02 schrieb phodina: > > > Now comes the question. How often should it be use and what are the > > > > pros and cons? > > I suggest to use this only if required,

Error in install-efi + build with graft freezes

2021-10-05 Thread phodina
Hi Guix, I've attempted to build image for beaglebone black based on the example found in gnu/system/examples/beaglebone-black.tmpl. To build the image I run the following command: time guix system image --no-grafts --system=armhf-linux examples/beaglebone-black.tmpl -v3 The following derivati

Python gi module not found

2021-10-05 Thread phodina via
Hi Guix, I've put together package definition for postmarketos-tweaks. This issue comes up when I attempt to run the pmos-tweaks. I get this message reagrding missing Python module gi: $ guix environment --pure bash [env]$ /gnu/store/zsybq9wphfckhph4f6fizzs31kjsd04x-postmarketos-tweaks-0.7.3/b

Re: Plugins for Kicad and other programs

2021-10-04 Thread phodina
On Sunday, October 3rd, 2021 at 7:37 PM, Efraim Flashner wrote: > On Sun, Oct 03, 2021 at 11:31:40AM +0000, phodina via wrote: > > > Hi Guix, > > > > Lots of programs now allow users to extend their features through plugins. > > > > On non Guix distros w

Plugins for Kicad and other programs

2021-10-03 Thread phodina via
Hi Guix, Lots of programs now allow users to extend their features through plugins. On non Guix distros where the user does not have the root priviledges they place the the content of their plugin in the configuration directory in home directory. Here's example for Kicad: ~/.kicad_plugins/ ~/.ki

Crates versions and their replacement

2021-10-03 Thread phodina
Hi Guix, I got questions regarding packaging Rust crates in Guix and unfotunately I haven't found an answer in the documentation nor in the help archive. 1. Sometimes the crate described in the Cargo.toml of a new package is not available but there is another with different higher minor or pa

Resources issue with glib-compile-resources

2021-10-02 Thread phodina
Hi Guix, I'm struggling to build this package (patch provided below) and would like to ask for your ideas. The issue is that in Makefile we call glib-compile-resources to compile the resources. However, the path needs to be substituted otherwise the resources are not found when the app is launche

Re: Apply patch to read-only file

2021-10-02 Thread phodina
Hi Guillaume, On Wednesday, September 29th, 2021 at 10:42 AM, Guillaume Le Vaillant wrote: > Hi, > > I tried with simplified versions of your package definition and patch, > > and it builds fine for me. The patch gets applied successfully. > Thanks for the help and the package definition. I al

Re: Apply patch to read-only file

2021-09-27 Thread phodina
Hi Guillaume, Sure, here's the formatted file. My appology for the issue with the mail client. --8<---cut here---start->8--- (define-module (realmd) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages image) #:use-module

Re: GuixSD distro detection during configuration

2021-09-16 Thread phodina
Hi Ricardo, > phodina via help-guix@gnu.org writes: > > > Hi, > > > > what is the best way to detect the GuixSD OS during the build? > > Why is distro detection desirable? I often found myself trying to > > work around buggy distro detection. > > (B

GuixSD distro detection during configuration

2021-09-16 Thread phodina via
Hi, what is the best way to detect the GuixSD OS during the build? I encountered the problem during build of realmd in the configure.ac [1]. Some distros have special file in /etc. So my first idea was to use /etc/config.scm. However, this is not visible during the package build. Therefore I we

Apply patch to read-only file

2021-09-16 Thread phodina via
Hi, I'm attempting to package realmd program. However, there seems to be an issue as it does not support GuixSD. Therefore I created a patch. When I specify the patch the hunk fails as the configure.ac file is read-only. I tried to use snippets but they seem to be applied after the patch therefo

Qt mediaplayer service issue

2021-09-07 Thread phodina via
Hi there! I'm getting this wierd Qt message when attempting to run package with dependency on qtmultimedia (putting togehter the definition of the package itself). This is the message: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" Based on th

Service development workflow

2021-09-04 Thread phodina
Hi there, I'm curious what development workflow do you use for implementing a service. Here's mine: 0 define a new service in my channel services directory 1 add this new service in definition of OS 2 use guix system container to build container image with --load-path pointing to the local chan

Guix pull fails on OS definition

2021-08-12 Thread phodina via
Hi Guix, Till now I've used custom channel for package definition only. However, I want to add to the channel also the definition for the operating system. The problem is when I run =guix pull= the command fails. The reason is probaly due to the newly added configuration file which returns OS as

Re: Non deterministic package

2021-08-09 Thread phodina
> I've become involved in the rust packaging effort so I'll jump in with > > some specifics. > > On Wed, Aug 04, 2021 at 03:50:00PM -0400, Julien Lepiller wrote: > > > Le 4 août 2021 15:14:16 GMT-04:00, phodina via help-guix@gnu.org a écrit : > > > >

Non deterministic package

2021-08-04 Thread phodina via
Hi, I came across a package in the Guix repository which fails to build. The package in question here is rust-brotli-sys-0.3. So the obvious question comes up. How does this happen? I just ran =guix build rust-brotli-sys= with the following output: ... phase `reset-gzip-timestamps' succeeded a

Circular dependency python-oslo.i18n

2021-08-04 Thread phodina
Greeting, I have a question regarding circular dependency and a package that won't build. I wanted to send a patch with updated version of pkg python-websocket-client. However, as I ran =./pre-inst-env guix refresh --list-dependent python-websocket-client= I noticed that one of the pkgs dependin

Defining thunderbolt service

2021-08-03 Thread phodina via
Hello, last month I submitted a patch to add support for thunderbolt devices [1]. The package, however, contains also a daemon that has to run. So the after creating the package I focused on the services. I read the section of GuixSD documentation [2] as well as the contents of the =gnu/services

Re: How to add custom channels to ISO

2021-08-03 Thread phodina
vise not running =guix pull= until after > > partitioning and setting up the target system), and this file will > > be added to the store (but if you're creating a channels file in > > =/etc= shouldn't matter honestly). > > phodina via help-guix@gnu.org writes: > &g

How to add custom channels to ISO

2021-07-28 Thread phodina via
Hello, I'm migrating to a newer machine and I'm taking my GuixSD configuration with me. So the first logical step I did was to create an ISO image based on this section [1]. As I use my custom channel with modified packages I added them to the configuration to make them available on the new mac

Re: Packaging hwinfo

2021-07-25 Thread phodina
> Petr, > > > Besides I also opened an issue > > Thanks! A good reflex, whether or not upstream cares or notices. > Well my point here is that the issue concerning the project itself should be reported e.g. what are the instructions to build it by hand. However, when comes to the packaging then i

Re: How to enable Chromium DNS over HTTPS

2021-07-25 Thread phodina
> Hello! I have to fight for my freedom with Russian government that having no > idea how to spoil the ilfe except blocking various of web-sites doing it very > quickly. > > And I have to use VPN for visit protonmail, safe-mail .net, tutanota and even > prnt .sc. > > I bypass blocking very well

Re: File not found during package build

2021-07-25 Thread phodina
Thanks Sarah. Sure, I'll stick with the standard way to run the check phase.

Help: No matching package

2021-07-25 Thread phodina
Greetings, I want to package a Rust crate `calculate` available on Gitlab. So I created the package description and defined also another one `decimal`. Package `rust-decimal` build correctly. However, when I want to build `calculate` package it complains that the crate is not available. startin

File not found during package build

2021-07-24 Thread phodina
Hi All, during package build in the phase `check` I get a strange error regarding file not found. The file in question is an executable script within the directory. It must be present there as the chmod operation succeeds. However, invocation of make then fails as it can't find the script. pha

Re: Packaging hwinfo

2021-07-24 Thread phodina
> Hi phodina, > > Do you come across this issue also while compiling by hand, rather than > > via the Guix daemon? > > Here [1], you can see the same problem tackled by Gentoo community. It > > was 2005 and related to another package, rather than directly hwinfo, >

Packaging hwinfo

2021-07-24 Thread phodina
Dear All, I'm attempting to package hwinfo which gathers HW information about the machine. You'll find the package definition attached below together with the definition for libx86emu. The issue I'm currently facing is that the libhd which is inside the repo is not detected by Makefile: starti

Re: Multiple sources

2021-07-22 Thread phodina
> Maybe you can use the first repo as the source, and use the second as > > an input, then have a phase to copy the files in place? > > You can do something like this in the inputs: > > (inputs > > `(("second-repo" ,(origin > > (method url-fetch) > > (uri ...) > > ... > > and in a phase you cou

Multiple sources

2021-07-22 Thread phodina via
Dear all, is there a way to specify multiple sources for building a package? Or do I have to create for each source a package (use copy-build-system) and then use it as a input for the final package with custom phases? Let me give you an example. I have a git repo with source code to build and

  1   2   >