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 `

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

[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

Specifying rust version

2022-12-26 Thread phodina via
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 to specify n

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

Update of packages in gnome.scm

2022-09-14 Thread phodina via
Hi, I've been working on updating and linting packages in the gnome.scm. The aim was to update the Gnome shell to recent version and fix the issues listed in the linter. I don't want to push the patches yet as they are not finished. However, I wanted to announce there's git branch with WIP upd

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

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-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

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: 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

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

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

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

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

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

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

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

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

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

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

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

Building Go package - GNU or Go build system

2021-05-08 Thread phodina via
I'm trying to package sbctl - secureboot manager written in Golang. However, the repository contains a Makefile to simplify the process which works great without packaging. Firstly, I'd like to ask about the opinion on building the programs that use Makefiles just to invoke the language builder

Building Python pkg - date2name

2021-04-24 Thread phodina via
Hi, I'm trying to build a python module date2name. However, I can't use guix import pypi date2name as I get error: guix import: error: no source release for pypi package date2name 2018.05.09.1 So I just download it from github and attempt the build. But, it does not have a setup.py file and fai

Installing file outside package in /etc

2021-04-24 Thread phodina via
I'm creating a package for application which needs to install file outside of the derivation directory. The file in question is /etc/sudoers.d but it can be generalized for other things like udev etc. I understand this won't be trivial since it modifies the system and will probably require some

Help creating custom channel

2021-04-24 Thread phodina via
Hi, I created package definition and wanted to place it in my custom channel. Therefore I placed the channel definition in ~/.config/guix/channels.scm (cons* (channel (name 'expanse) (url " https://gitlab.com/phodina/expanse ") (introduction (make-channel-introduction "71b93677a2312b2d0af2bfc1cc7

Image for Beaglebone black

2021-04-24 Thread phodina via
I tried to build a Guix image for Beaglebone Black based on this blog post (https://guix.gnu.org/blog/2017/porting-guixsd-to-armv7/).Running guix system image --system=armhf-linux -e "(@ (gnu system install) beaglebone-black-installation-os)" gave me errors in elfutils. Should I report these fa

Import package and generate use-module

2021-04-24 Thread phodina via
I'm making a package for octoprint which is imported from PyPI. guix import -r octoprint generates the template to build the package. However, I'm missing the :#use-module ... in order to build the package when I add (define-module (python-octoprint). Given the fact there are tens of inputs doi

Guix Jupyter notebook

2021-04-24 Thread phodina via
I wanted to run a Jupyter notebook using Guix to define the inputs. However I run into an issue in python module. Could you help me with the DistributionNotFound error? $ guix install jupyter guix-jupyter ... $ guix describe Generation 21 Apr 21 2021 10:14:08(current) guix 13c4a37 re