Stuck installing guix package manager on Fedora with selinux

2023-10-17 Thread Alexis Simon
Hi, I'd like to try the guix package manager but am stuck installing it on Fedora 38 with selinux. I should say I don't know anything about the details of either guix or selinux. I know a few other persons that also wanted to try guix but gave up due to issues with selinux, so I think solving

Re: Stuck installing guix package manager on Fedora with selinux

2023-10-18 Thread Alexis Simon
llation, but I was able to get guix running on Fedora using rpm packages from copr: https://copr.fedorainfracloud.org/coprs/lantw44/guix/ If you can't find solution to the SELinux problem, maybe give those rpm packages a try. Best regards, Markku On Tue, Oct 17, 2023 at 09:42:58AM -0700, Alexi

Re: Stuck installing guix package manager on Fedora with selinux

2023-10-18 Thread Alexis Simon
g. Alexis On 18/10/2023 10:06, Alexis Simon wrote: Hi, Thanks for the suggestion. I stumbled on this guix rpm but it seems also that selinux needs to be disabled with that one. I think the maintainer initially wanted to apply selinux policies but in the end commented out all those parts. (Ther

Re: Stuck installing guix package manager on Fedora with selinux

2023-10-18 Thread Alexis Simon
Hi, So trying to prepare a patch, I realized those changes are already in master. So that's the reason I didn't get them in the normal stable release install. Alexis On 18/10/2023 19:02, Maxim Cournoyer wrote: Hello, Alexis Simon writes: Ok I think I'm starting to get s

guix + fish shell help

2023-10-22 Thread Alexis Simon
Hi, Is there any fish power-user using guix here who could help me figuring out how to set up everything correctly? My system: - guix installed on Fedora - fish installed through Fedora - My path when I open a new shell, set up with the fish_add_path -U: /home/alexis/.config/guix/current/bin /

Re: guix + fish shell help

2023-10-23 Thread Alexis Simon
-P -p ~/.nix-profile/bin ╎ fish_add_path -P -p ~/.guix-profile/bin ╎ fish_add_path -P -p ~/.config/guix/current/bin end --8<---cut here---end--->8--- Now the guix shell path is correctly prepended to my path! Best, Alexis On 23/10/2023 02:47, Unstable

Python package with some rust dependency

2024-02-11 Thread Alexis Simon
Hi, I've been trying to package a science python software that mixes some C++ and rust dependencies. https://github.com/molpopgen/fwdpy11 I'm stuck in how to handle this. Going the pyproject-build-system way, the cargo part errors at accessing crates.io as would be expected, I guess I should

Re: Python package with some rust dependency

2024-02-13 Thread Alexis Simon
n this one repository has both, I wonder if it would make sense to build them separately (as two packages), and have one as an input of the other. Presumably this would mean the python package taking the rust package as an input, but the details might be more involved. On Sun, Feb 11 2024, Alexis Simon wro

Re: Python package with some rust dependency

2024-02-13 Thread Alexis Simon
Fair enough, I just meant that it's pretty hard as a newcomer to know which build system You're supposed to use to start with when encountering a project where several languages are used. Alexis On 13/02/2024 13:46, Carlo Zancanaro wrote: On Tue, Feb 13 2024, Alexis Simon wrote:

Re: Python package with some rust dependency

2024-02-15 Thread Alexis Simon
is not present in the native-inputs, although I specify it in the package. Thanks, Alexis On 13/02/2024 13:55, Alexis Simon wrote: Fair enough, I just meant that it's pretty hard as a newcomer to know which build system You're supposed to use to start with when encountering a proje

Re: Python package with some rust dependency

2024-02-16 Thread Alexis Simon
exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure apply: Apply to non-list: #f ``` Thanks Alexis On 15/02/2024 22:08, Alexis Simon wrote: Hi, So right now I'm trying to go the splitting in two packages way, similar to what is done for python-crypto

Re: Python package with some rust dependency

2024-02-17 Thread Alexis Simon
On 17/02/2024 03:50, Carlo Zancanaro wrote: Hi Alexis, On Fri, Feb 16 2024, Alexis Simon wrote: ``` error: in phase 'check-python-module': uncaught exception: wrong-type-arg "apply" "Apply to non-list: ~S" (#f) (#f) phase `check-python-module' failed aft

Re: Python package with some rust dependency

2024-02-17 Thread Alexis Simon
for reference, I finally managed to get this working. See attached file. Thanks for the help Alexis On 17/02/2024 08:46, Alexis Simon wrote: On 17/02/2024 03:50, Carlo Zancanaro wrote: Hi Alexis, On Fri, Feb 16 2024, Alexis Simon wrote: ``` error: in phase 'check-python-module'

packaging python-cyvcf2

2024-03-21 Thread Alexis Simon
Hi, I've spent nearly the day on this and it's driving me crazy. I am trying to package this cyvcf2 [1] I am attaching the packaging I've tried. The build is failing with this error: running build_ext # cyvcf2: htslib mode is BUILTIN # cyvcf2: htslib configure options is None error: [Errno 2] No

Re: packaging python-cyvcf2

2024-03-22 Thread Alexis Simon
On 22/03/2024 08:25, Simon Tournier wrote: Hi, On jeu., 21 mars 2024 at 18:03, Alexis Simon via Guix-Science wrote: The build is failing with this error: running build_ext # cyvcf2: htslib mode is BUILTIN # cyvcf2: htslib configure options is None error: [Errno 2] No such file or directory

Re: packaging python-cyvcf2

2024-04-20 Thread Alexis Simon
Hi, this is great, thanks for fixing the tests and improving the packaging. On 18/04/2024 02:13, Ricardo Wurmus wrote: Hi, I've abandoned running the tests though, I'm hitting a module not found error. pytest doesn't manage to load the just built module, probably an issue with the paths. It

Re: Python package that uses setuptools_scm is builded with version 0.0.0

2024-06-02 Thread Alexis Simon
Hi Polyedre, I think having python-setuptools-scm in your native-inputs should be enough for building with the right version number. At least it was enough for me when I encountered this issue before. Best, Alexis On 01/06/2024 12:49, Polyedre wrote: Hello, While trying to package maestral[

Re: simple question about copying in the terminal

2025-02-07 Thread Alexis Simon
Hi, One option could be to redirect the output to a file and then copy the content from there with an editor. `>` if it's stdout and `2>` if it's stderr. For example I can copy to clipboard in helix editor, I'm pretty sure this is possible with other terminal editors as well. Alexis On 07

search-patches patch not found error

2025-05-06 Thread Alexis Simon
Hi, Would anyone know reasons for a patch to not be found in a package definition? I have this source: --- (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/PalamaraLab/arg-needle-lib.git";) (commit (string-append

Is it possible to have extra .scm files in a channel?

2025-04-25 Thread Alexis Simon
Hello, I've made a channel with this file structure guix-tsverse/packages/* .guix-authorizations .guix-channel tsverse-manifest.scm tsverse-channels.scm My issue is that I get errors because the two *.scm files at the root of this (manifest and channels that I would like to have to build a co

Re: Is it possible to have extra .scm files in a channel?

2025-04-28 Thread Alexis Simon
Hi, Thanks Ludovic for the answer. I'm still not really sold on either solution, i.e. yours and Romain Garbage's one where I just remove the .scm extensions from files I don't want included. When using my channel externally, would imports still look like (use-modules (guix-tsverse packages fo

Trying to package python-panel - how to combine python and npm build?

2025-05-21 Thread Alexis Simon
Hi, I'm trying to work on a python package depending on python-panel but I'm out of my depth trying to package this one. python-panel is depending on npm compilation and I don't know how to proceed from there. So I have two questions: - Do anyone know any similar cases that I could take as

Re: Trying to package python-panel - how to combine python and npm build?

2025-05-22 Thread Alexis Simon
. So you could create npm-panel, and then make python-panel depend on npm-panel, both using the same source. All of this is quite hacky and untested, maybe somebody else can provide actual guidance. Best of luck, Edouard. Alexis Simon writes: Hi, I'm trying to work on a python package d

Re: GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-03 Thread Alexis Simon
IX_PYTHONPATH"' ``` First one gives /gnu/store/rxfshmxwk8pas52lpmhhnqys8apwynpr-profile/lib/python3.11/site-packages Second one gives /gnu/store/rxfshmxwk8pas52lpmhhnqys8apwynpr-profile/lib/python2.7/site-packages Alexis On 03/06/2025 10:01, Alexis Simon wrote: Hello, I have an issue w

Re: GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-03 Thread Alexis Simon
m mainly used on HPC clusters. So very much like docker. Alexis Simon writes: a little addition to this, to reproduce you can do ``` guix pack -f squashfs bash python | \ xargs -I % sh -c 'apptainer exec % bash -c "echo \$GUIX_PYTHONPATH"' guix pack -f squashfs bash p

Re: GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-04 Thread Alexis Simon
gh to try and fix this myself so I'll open an issue for it. Best, Alexis On 03/06/2025 22:48, Rutherther wrote: Alexis Simon writes: Thanks a lot for the lead, it seems indeed that this bash profile is not loaded. You're right that the GUIX_PYTHONPATH is properly defined in t

Re: GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-04 Thread Alexis Simon
For reference, issue opened here https://codeberg.org/guix/guix/issues/419 On 04/06/2025 09:53, Alexis Simon wrote: No need to apologize, this is extremely helpful as you managed to pinpoint the problem. Which I guess stems from how this function defines the env https://codeberg.org/guix/guix

GUIX_PYTHONPATH in guix pack squashfs not pointing to both python 2 and 3 libs

2025-06-03 Thread Alexis Simon
Hello, I have an issue with how the python path for libraries is defined in a guix pack. I build it with a manifest containing modules for both python 3 and python 2, so both versions are present. When using the same manifest in guix shell there is no issue and GUIX_PYTHONPATH contains both

Re: guix pack package version conflict

2025-05-30 Thread Alexis Simon
understanding of the dependency graph. Cheers, Alexis On 30/05/2025 16:12, Alexis Simon wrote: Hi, how do you usually solve conflicting version in guix pack? -- guix pack: error: profile contains conflicting entries for python-tornado guix pack: error:   first entry: python-tornado

guix pack package version conflict

2025-05-30 Thread Alexis Simon
Hi, how do you usually solve conflicting version in guix pack? -- guix pack: error: profile contains conflicting entries for python-tornado guix pack: error: first entry: python-tornado@5.1.1 /gnu/store/psv4jhw3274mb3gcc63668jwgavpqcwj-python-tornado-5.1.1 guix pack: error:... pro

guix foreign install - cannot set loopback interface flags: Operation not permitted

2025-06-12 Thread Alexis Simon
Hi, I wanted to reinstall my guix setup on ubuntu 25.04 to benefit from the unpriviledged guix-daemon. But I seem to have simply managed to bork my guix install. I used the latest binary package with the install.sh script to perform a fresh install. When running guix pull, I get the follow

Re: guix foreign install - cannot set loopback interface flags: Operation not permitted

2025-06-12 Thread Alexis Simon
, although not ideal. On 12/06/2025 15:27, Cayetano Santos wrote: jeu. 12 juin 2025 at 15:19, Alexis Simon wrote: Hi, I wanted to reinstall my guix setup on ubuntu 25.04 to benefit from the unpriviledged guix-daemon. Did you completely removed previous install before ? I've use

Re: Trying to package python-panel - how to combine python and npm build?

2025-06-12 Thread Alexis Simon
python-typing-extensions)) (native-inputs (list python-pip)) (home-page #f) (synopsis "The powerful data exploration & web app framework for Python.") (description "The powerful data exploration & web app framework for Python."