How to run a Docker image as a Guix System service?

2021-05-03 Thread Mekeor Melire
Hello Guix! Is it possible to run a Docker image as a Guix System service? For example, consider Gitlab. Unfortunately, there is no package declaration of Gitlab for Guix yet. But let's assume you are impatient and you want to run Gitlab on Guix System as soon as possible. Is it possible for you

Re: xmodmap doesn't before pressing any button keyboard

2021-07-18 Thread Mekeor Melire
hello! you are using Guix-system, right? you might want to add some extra X.org-configuration to your systems declaration. for example, if you're using the Slim login-manager, here's a snippet from my Guix-system-declaration which makes X.org map caps-lock to ctrl while using the german keyboard l

Re: Need help with Xmonad setup and login from tty

2021-10-30 Thread Mekeor Melire
Hello :) I also start XMonad from the terminal/TTY. I use the following command which I found in some Guix mailing list: --8<---cut here---start->8--- xinit -- ~/.guix-profile/bin/Xorg :0 vt1 \ -keeptty \ -configdir ~/.guix-profile/share/X11/xorg.conf.d \

Re: Need help with Xmonad setup and login from tty

2021-10-30 Thread Mekeor Melire
Oops, I gotta correct a detail! 2021-10-30 / 19:22 / mek...@posteo.de: > Hello :) > > I also start XMonad from the terminal/TTY. I use the following command > which I found in some Guix mailing list: > > --8<---cut here---start->8--- > xinit -- ~/.guix-profile/

Re: Need help with Xmonad setup and login from tty

2021-10-31 Thread Mekeor Melire
I should also note that the reason, why I use `xinit` is that I did not want to run Xorg as root but rather as user. That's why I didn't add Xorg to my system services. Instead, I start Xorg using the below-mentioned xinit-command as user. 2021-10-30 / 19:35 / mek...@posteo.de: > Oops, I gotta co

Guix System on Pine64's Quartz64?

2021-12-22 Thread Mekeor Melire
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 this? Goodbye Mekeor

Re: Guix System on Pine64's Quartz64?

2021-12-23 Thread Mekeor Melire
2021-12-23 / 11:06 / phod...@protonmail.com: > Hi Mekeor, Hello phodina, > On Wednesday, December 22nd, 2021 at 9:00 PM, Mekeor Melire > wrote: > >> Hello Guix, >> >> the manufacturer Pine64 offers a single-board computer called Quartz64 >> >> (AARC

Re: Guix System on Pine64's Quartz64?

2021-12-23 Thread Mekeor Melire
2021-12-23 / 11:06 / phod...@protonmail.com: > Hi Mekeor, Hello phodina, > I'm running Guix on foreign distro (Manjaro ARM). Wow, that's super cool! > Also in the latest blog post [2] the dedicate section to Quartz64: > > Linux 5.15 brings Quartz64 device tree > Quartz64 now outputs vi

Re: bug#52904: nmtui - user authorisation

2022-01-02 Thread Mekeor Melire
2022-01-02 / 12:07 / d...@jpoiret.xyz: > Hello again, >> Good morning Josselin, and Happy New Year! >> >> Many thanks for taking the time to explain this in detail for us. If I >> have properly understood your explanation, it suggests I am running >> network-manager from outside of the dbus sess

`guix pull` leads an error while building guix-package-cache

2022-03-21 Thread Mekeor Melire
Hi Guix, when I run `guix pull`, it results in this error: \builder for `/gnu/store/…-guix-package-cache.drv' failed to produce output path `/gnu/store/…-guix-package-cache' build of /gnu/store/…-guix-package-cache.drv failed View build log at '/var/log/guix/drvs/di/…-guix-package-ca

[DONE] `guix pull` leads an error while building guix-package-cache

2022-03-21 Thread Mekeor Melire
Sorry for the noise. Apparently, there was a bad package definition in my custom channel. I realized that I'm much faster debugging and testing my package with - add package-name as expression at the end of package-file; and - `guix package -f foo.scm` every time to test the file; than with - ch

How to replace %output with #$output?

2022-03-21 Thread Mekeor Melire
In the IRC-channel, I was told that the undocumented, magic %output variable is deprecated. Instead, I should use #$output. But I couldn't get this done. I always ran into strange errors. How should I change the following snippet? --8<---cut here---start->8---

Re: How to replace %output with #$output?

2022-03-22 Thread Mekeor Melire
2022-03-21 / 21:57 / m...@tobias.gr: > Remove the quote after arguments (replace it with a plain LIST call) and add > #~ before (modify-phases ...) to define a gexp. > > Untested example: > > (arguments > (list #:tests? #f ; no tests > #:make-flags (list "CC=gcc") >

Re: How to replace %output with #$output?

2022-03-22 Thread Mekeor Melire
2022-03-22 / 07:59 / m...@tobias.gr: > On 22 March 2022 07:26:38 UTC, Mekeor Melire wrote: >> (list "CC=gcc") >> >>With these changes I get this error: >> >> Wrong type to apply: "CC=gcc" > > That can happen only if you apply

Re: How to replace %output with #$output?

2022-03-22 Thread Mekeor Melire
2022-03-22 / 16:16 / tuma...@163.com: > Mekeor Melire writes: > >> 2022-03-21 / 21:57 / m...@tobias.gr: >> >>> Remove the quote after arguments (replace it with a plain LIST call) and >>> add #~ before (modify-phases ...) to define a gexp. >>>

A package search engine for a curated list of channels

2022-04-27 Thread Mekeor Melire
Hello, it would be nice to be able to search for a package (and/or a service) by name or description etc. through many channels. AFAIK, there's no such search engine yet. Please correct me if I'm wrong. I'm considering to implement it. I'd suggest to approach it with a server where (1) Guix is in

404 errors with hpcguix-web (e.g. for /packages.json)

2022-04-27 Thread Mekeor Melire
Thank you for the hint. hpcguix-web is awesome! I installed it locally with the following declaration: --8<---cut here---start->8--- ;; added modules: (guix channels) (gnu services web) (service hpcguix-web-service-type (hpcguix-web-configuration (specs

Show: Minimal Working Example of hpcguix-web

2022-05-04 Thread Mekeor Melire
By the way, I got it working. Here's a minimal working example of hpcguix-web (meant to be run in a Docker container): --8<---cut here---start->8--- (use-modules (guix channels) ;; channel (for hpcguix-web) (gnu packages certs) ;; nss-certs

Re: A package search engine for a curated list of channels

2022-05-04 Thread Mekeor Melire
2022-04-27 / 20:37 / rek...@elephly.net: > See https://github.com/UMCUGenetics/hpcguix-web. It handles the > constant updates to all Guix channels and the search. You’re welcome > to contribute to it, e.g. to add an API, suggest changes in how > results are displayed, etc. > > An example deploymen

Re: Guix home, guix system, channels, some noob questions

2022-05-11 Thread Mekeor Melire
2022-05-11 / 16:55 / sebastien.rey-coyrehou...@univ-rouen.fr: > Hi, > > My other question remain about guix home / guix system relation, and sudo, but > jpoiret found my main problem, my channels.scm are not well defined / not good > ... > > - I made (cons * (channel ...)) (cons* (channel ...)) et

Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Mekeor Melire
Hello, when editing a Guix system declaration (system.scm) with GNU Emacs and Geiser (and corfu.el), can I get completion for Guix specific code? Right now, I only get completion suggestions based on generic Guile modules. E.g. completing "(ope" (by pressing C-M-i) does not offer "(operating-syste

Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Mekeor Melire
Sorry, I think the attached files were not separated well. Maybe it's better this time! (require 'corfu) (setq corfu-auto t corfu-auto-prefix 0 corfu-quit-no-match t) (global-corfu-mode) ;; optional: (require 'corfu-doc) (add-to-list 'corfu-mode-hook #'corfu-doc-mode) (require 'geiser-guil

Re: Emacs and Geiser: Completion for Guix specific code?

2022-11-16 Thread Mekeor Melire
2022-11-16 / 14:51 / luis.felipe...@protonmail.com: > Hi Mekeor, Hello Luis Felipe, > On Wednesday, November 16th, 2022 at 11:07, Mekeor Melire > wrote: > As far as I know, you can only get completion for symbols defined in other > modules and libraries if > > 1. The

This is how you import a mailing list archives (e.g. guix-patches) into mu4e

2022-11-16 Thread Mekeor Melire
Hello Guix, you might want to import a mailing-list-archive into mu4e. E.g. because debbugs.el is slow, you might want to import the archives of the guix-patches mailing list. This is how to do so. First, download the archives as in the "mbox" format -- the only format that Mailman offers: --8<-

Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e

2022-11-16 Thread Mekeor Melire
2022-11-16 / 23:22 / jbra...@dismail.de: > November 16, 2022 6:15 PM, "Mekeor Melire" wrote: > > > Hello Guix, > > > > you might want to import a mailing-list-archive into mu4e. E.g. > > because debbugs.el is slow, you might want to import the archives of

Re: Guix SD and Emacs

2022-11-30 Thread Mekeor Melire
2022-11-25 / 19:12 / gottfr...@posteo.de: > If I want an other theme, how to do that? > (Should I better ask in the emacs mailing list?) yes, i think this question does not relate much to guix and should rather be discussed somewhere else. you might either consult an emacs mailing-list, read the

Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e

2022-12-04 Thread Mekeor Melire
2022-11-16 / 23:41 / mek...@posteo.de: > 2022-11-16 / 23:22 / jbra...@dismail.de: > > November 16, 2022 6:15 PM, "Mekeor Melire" wrote: > > > you might want to import a mailing-list-archive into mu4e. E.g. > > > because debbugs.el is slow, you might want to

Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e

2022-12-05 Thread Mekeor Melire
2022-12-05, 09:45, zimon.touto...@gmail.com: > Personally, I use “git clone” from a public-inbox instance [1]. > > git clone --mirror https://yhetil.org/guix-patches/1 \ > guix-patches/git/1.git > > where ’1’ can be also replace by ’0’ for the very old ones. > > Then the conversi

Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e

2022-12-06 Thread Mekeor Melire
2022-12-05 20:03 k...@kyleam.com: > On 12/05/22 09:45:41 +0100, zimoun wrote: > > Personally, I use “git clone” from a public-inbox instance [1]. > > > > git clone --mirror https://yhetil.org/guix-patches/1 \ > > guix-patches/git/1.git > > > > where ’1’ can be also replace by ’0

Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e

2022-12-06 Thread Mekeor Melire
2022-12-06 12:33 zimon.touto...@gmail.com: > On Mon, 05 Dec 2022 at 21:43, Mekeor Melire wrote: > > > I guess, a disadvantage of using public-inbox is that it's not an > > official service of the GNU Guix community. > > It is up to us to have an “official” in

Re: Passing options to modules via modprobe.d

2022-12-11 Thread Mekeor Melire
2022-05-16 20:51 si...@netpanic.org: I've been trying to pass options to certain modules at boot like this: --8<---cut here---start->8--- (simple-service 'thinkpad-acpi etc-service-type (list `("modprobe.d/thinkpad.conf"

Re: Install and load new emacs package without restarting it

2023-05-04 Thread Mekeor Melire
2023-05-04 12:38 andremegaf...@gmail.com: Hi Guix, Hello! I'm wondering whether it's possible to install an emacs package and enable it without restarting emacs. What I've tried: - $ guix install emacs-nix-mode - Locate /gnu/store/...emacs-nix-mode/share/emacs/site-lisp/nix-mode - Run c

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

2023-05-07 Thread Mekeor Melire
2023-05-06 02:41 jg...@dismail.de: guix build: error: gcry_md_hash_buffer: Function not implemented I also run into this error, when I checkout the latest master branch of the Guix repository (commit fccb48d2cec6bcf47647c82914f31e2dff617f9c) and then run: guix shell -D guix ./bootstrap

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

2023-05-07 Thread Mekeor Melire
2023-05-07 10:24 mek...@posteo.de: 2023-05-06 02:41 jg...@dismail.de: > guix build: error: gcry_md_hash_buffer: Function not > implemented I also run into this error, when I checkout the latest master branch of the Guix repository (commit fccb48d2cec6bcf47647c82914f31e2dff617f9c) and then

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

2023-05-07 Thread Mekeor Melire
2023-05-07 14:55 jg...@dismail.de: > 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? The only thing I know is that this command is instru

Re: Install and load new emacs package without restarting it

2023-05-08 Thread Mekeor Melire
On May 8, 2023 3:15:55 AM GMT+02:00, Maxim Cournoyer wrote: >Hi, > >Mekeor Melire writes: > >> 2023-05-04 12:38 andremegaf...@gmail.com: >> >>> Hi Guix, >> >> Hello! >> >>> I'm wondering whether it's possible

Error when tab-completing Guix-subcommand in Emacs' Eshell

2023-05-25 Thread Mekeor Melire
Hello Guix! :) When I open Emacs ("emacs -q"), run Eshell (M-x eshell RET) and type "guix " followed by TAB, why do I get the following error message? --8<---cut here---start->8--- Starting Guix REPL ... [5 times] guix-geiser-eval: Error in evaluating guile

Re: Error when tab-completing Guix-subcommand in Emacs' Eshell

2023-05-25 Thread Mekeor Melire
2023-05-25 09:03 mek...@posteo.de: Hello Guix! :) Hello Mekeor! When I open Emacs ("emacs -q"), run Eshell (M-x eshell RET) and type "guix " followed by TAB, why do I get the following error message? This happens because Eshell does not run the external program "guix" but the emacs-lisp

Let's Gather a List of Guix-Related Emacs-Packages!

2023-06-10 Thread Mekeor Melire
Hello Guix, it'd be nice if the Guix Cookbook would elaborate more on Emacs-packages that directly relate to Guix or have some kind of official support for it. I'd like to invite you all to share links to such projects in this mail-thread. I'll begin, in alphabetical order of URLs. https://

unset GHC_PACKAGE_PATH for cabal-install

2017-01-21 Thread Mekeor Melire
How to use cabal-install in GuixSD? `cabal install` leads to an error saying its incompatible with GHC_PACKAGE_PATH variable: $ cabal install hascal Config file path source is default config file. Config file /home/mekeor/.cabal/config not found. Writing default configuration to /home/mekeor/.caba

Re: Package request: fortune

2017-02-15 Thread Mekeor Melire
Am Wed, 15 Feb 2017 13:37:55 + schrieb ng0 : > On 17-02-14 21:24:06, Caleb Herbert wrote: > > Could someone make a package for fortune? > > > > This looks like a very quick task (for me). Do you need help with > packaging this and want someones guidance? Otherwise I'd say you could > take

Re: Tool to format/indent scheme code

2017-03-04 Thread Mekeor Melire
Huang, Ying writes: > Sometimes, I want to check the contents of auto-generated scheme code in > store. But the readability is not very good. So I want to use a code > format/indent tool to help on this. Do you know is there such tool in > Guix? If no, any tool not in Guix? Thanks in advanc

GHC@8 doesn't find XMonad

2017-03-06 Thread Mekeor Melire
Hi Guix! I've installed latest XMonad (0.12) and GHC (8.0.2) with latest Guix (20170305.13). I've set GHC_PACKAGE_PATH to "/home/mekeor/.guix-profile/lib/ghc-8.0.2/package.conf.d". Still, 'xmonad --recompile' errors like this: Failed to load interface for ‘XMonad’ Perhaps you meant DsMona

torsocks works with wget but fails git-clone: "unable to lookup symbols in libc.so.6"

2017-04-05 Thread Mekeor Melire
Problem === This works fine: $ torsocks wget http://github.com/mekeor/config This fails: $ torsocks git clone http://github.com/mekeor/config 1491426097 ERROR torsocks[25849]: Unable to lookup symbols in libc.so.6((null)) (in init_libc_symbols() at torsocks.c:239) Torifying b

Re: torsocks works with wget but fails git-clone: "unable to lookup symbols in libc.so.6"

2017-04-06 Thread Mekeor Melire
ng0 writes: > That's not enough for torify (torification? to use torsocks / the SOCKS5 > of tor) of applications. As I told you earlier, you need a SOCKSPort, > like so: > > (services (cons* > (tor-service > (plain-file "torrc" > "SocksPort 127.0.0.1:9050\n" > > This

How to make Haskell-Mode for Emacs work (on GuixSD)?

2017-06-27 Thread Mekeor Melire
On GuixSD, with Guix, I installed the packages `emacs`, `haskell-mode` and `cabal-install`. When I open a Haskell source file in Emacs, using haskell-mode, and try load it using `haskell-process-load-file' (C-c C-l), (having `interactive-haskell-mode' in `haskell-mode-hook',) I get this error:

Specify patches for packages with local source

2017-06-29 Thread Mekeor Melire
Is it possible to specify patches for packages with local source? The `local-file` declaration doesn't allow a `patches` declaration. Therefore, I'm guessing I'd have to use `origin`. But I'm not sure whether either (method git-fetch) or (method url-fetch) allow to specify a local path? The manua

Re: Guix installation - Cannot connect to wifi or Ethernet

2017-06-30 Thread Mekeor Melire
Muto writes: > I'm trying to install Guix. > "ifconfig" doesn't detect my wlp5s0 device. Your wifi-card may need a proprietary driver which GuixSD doesn't include (because Guix only has official packages for free/libre software because Guix doesn't want to encourage you to use restrictive, perh

Implement power management (suspend, hibernate, resume) in Shepherd?

2017-07-03 Thread Mekeor Melire
I'm bumping this old thread: https://lists.gnu.org/archive/html/guix-devel/2015-03/msg00757.html because I'd like to discuss if it still makes sense to implement power management, i.e. suspend (to memory=RAM), hibernate (to (hard) disk) and resume in GNU Shepherd. As far as I can see, Shephe

Re: guixSD

2017-07-19 Thread Mekeor Melire
Job Hernandez writes: > Hi, on the manual it says that the guixSD is not production ready. Im eager > to start using this as my primary operating system-- when will it be > production ready? For completeness, this is what the manual states at chapter 6.1.1: > the Guix System Distribution (Gu

Re: How to install a GuixSD desktop?

2017-08-04 Thread Mekeor Melire
Welcome to Guix-community, Martin! Martin H. writes: > 2) I need to adjust the main Xorg configuration file in order to not > load the synaptics driver. (From my experience, this is the only way to > make libinput manage the touchpad, so I can get tap-to-click and > multi-touch gestures working

Re: GuixSD for Raspberry?

2017-09-18 Thread Mekeor Melire
Ludovic Courtès writes: > Hartmut Goebel skribis: > >> quick answer: What is the status of GuixSD for Raspberry? Searching the >> web did not help finding this out. > > GuixSD has not been ported to ARM in general. Porting means adding > support for U-Boot and the kernel with the right setting

How to add a new driver as PPD-file to CUPS?

2017-09-27 Thread Mekeor Melire
I'd like to print on GuixSD. I'm using the cups-service in my system configuration. How do I add a PPD-file driver for my printer? Do I have to create a package for it? What I tried so far: I downloaded a PPD file for my printer from openprinting.org. I used CUPS' web-interface localhos

Re: error running emacs installed with guix

2017-11-17 Thread Mekeor Melire
I guess, this information is pretty obvious, but I can tell you that this is a GTK specific issue. Personally, I use Emacs with athena-toolkit (libxaw) instead of GTK. I did not encounter this problem with it. If you're interested, this is the package definition: (define-public own-emacs