Re: LEMP on GuixOS

2020-08-15 Thread Arun Isaac
Hi, I don't know if there is a single tutorial for all of LEMP. But, have you tried the nginx, mysql and php-fpm services described in the Guix manual? Regards, Arun signature.asc Description: PGP signature

Re: Confused while submitting patch

2020-10-15 Thread Arun Isaac
https://git-send-email.io/ is a good tutorial on setting up and using `git send-email`. Cheers!

Re: rust packaging with specific version of rust

2020-10-19 Thread Arun Isaac
To enable the unstable inner_deref feature, you need to add the line "#![feature(inner_deref)]" to the top of src/lib.rs. And, you might need to enable unstable features by setting the environment variable RUSTC_BOOTSTRAP to 1. See the rust-sourcemap package in gnu/package/crates-io.scm for an ex

Re: Writing Indian Languages on GNU/Linux

2020-11-05 Thread Arun Isaac
> I am planning to start translating Guix manuals. I will first start with > the cookbook, as its a smaller version, and can be translated faster I > think, but If you suggest me to translate guix manual first, I will do > so. Translating the guix domain[1] (the command line UI messages) would be

Re: Getting Jitsi to work with IceCat

2020-11-14 Thread Arun Isaac
This was very useful, thank you! I always assumed Jitsi didn't work with Icecat. This isn't exactly Guix related, but it is such a common problem for Guix users that it should probably go in the cookbook. Or even better, our Icecat should be packaged to use a Firefox user agent by default. Anywa

Re: Getting Jitsi to work with IceCat

2020-11-15 Thread Arun Isaac
> Yes, right? > Wanna file a bug about the IceCat user agent? Done! See bug#44678

Re: Unison with non-Guix machines

2020-11-24 Thread Arun Isaac
Hi Andreas, I had a similar problem with my Arch Linux work machine. I installed Guix (as in running guix-daemon on a foreign distro) on my Arch work machine, and used Guix to manage the unison package alone. That way, I always had matching versions. But, you do need root privileges on your work

Re: help with emacs package

2020-12-10 Thread Arun Isaac
> could anybody describe in details what went wrong? By default, the HOME environment variable in the build environment is set to /homeless-shelter, a non-existent directory. Some packages try to access HOME to put temporary files or for some other reason. When they find the HOME directory does n

Building Guix packages/derivations from within a `guix system container`

2021-06-03 Thread Arun Isaac
Hi, Is it possible to build guix packages or derivations from inside a container created by `guix system container`? When I try to, I get the following error. Is there any way to work around this? --8<---cut here---start->8--- # guix build hello guix build: er

Re: packaged artanis v0.5 not found

2021-09-01 Thread Arun Isaac
Hi, I just updated our artanis package to version 0.5. Not exactly an answer to your question, but hope that helps! Regards, Arun signature.asc Description: PGP signature

Re: Why no guile-dbd-mysql in Guix?

2021-10-03 Thread Arun Isaac
Hi Mortimer, FWIW, I just packaged guile-dbd-mysql for Guix, and pushed it to the master branch. Cheers! Arun signature.asc Description: PGP signature

Re: How to put a file in /gnu/store and set its permissions

2021-12-07 Thread Arun Isaac
> by the looks of it, would still be putting the key in the store, which > is insecure. That's correct. I think you should look at how the ssh service or the wireguard service manages its keys. IIRC, they do so by generating a new key during /activation/ of the system. signature.asc Description

Re: guix refresh to specific package version

2022-04-06 Thread Arun Isaac
Hi Peter, > Is there a way to pass a specific package version to the guix > refresh command? Not to my knowledge, there isn't. But, it would be a great feature to have. Having to manually edit the version and source hashes is pretty frustrating. Cheers! Arun

Re: guile-dbi from guix not working

2022-05-25 Thread Arun Isaac
Hi Zelphir, > > (specifications->manifest > '("guile@3.0.8" > "guile-dbi")) > I think you missed guile-dbd-sqlite3 in the manifest above. With guile-dbd-sqlite3 added, it works for me. Here are my results. --8<---cut here---start->8--- # # #

Re: guile-dbi from guix not working

2022-05-29 Thread Arun Isaac
Hi Zelphir, > Should guile-dbd-sqlite3 not be a dependency of guile-dbi then? But on > the other hand, what if one only wanted to interact with one database > type and not the other? So maybe not a must have dependency > then. Hm. What is the typical Guix solution for this kind of > "specializat

Re: non-input dependencies Was: guile-dbi from guix not working

2022-05-29 Thread Arun Isaac
> IMHO as a first step we should just add this information to the package > descriptions. Simple, backwards compatible, doesn't restrict us, etc. > Eg.: for emacs-geiser, just add a line that says: "To use it with a > given Scheme dialect, install emacs-geiser- in the > same environment." > Bam,

Re: Avoiding Typing Encryption Passphrase Multiple Times

2022-08-21 Thread Arun Isaac
Hi John, I believe the canonical way to do this is to set up LVM on LUKS. See pros and cons of different approaches in the table at https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Overview With LVM on LUKS, you only need to enter the passphrase once to unlock the LVM. All p

Re: use guix shell with a file (e.g. tissue.scm)

2022-11-27 Thread Arun Isaac
> :) > > I have always appreciated Arun's design choices. > > His inputs regarding Skribilo and Xapian mark him down as a man of > exquisite taste. Thank you, that's very high praise! :-)

Re: invoking info guix

2018-03-17 Thread Arun Isaac
Catonano writes: > How can I end up in the Guix manual front page directly even when using > Emacs ? Eval (info "(guix)") and you'll end up on the Guix manual front page. But, I don't actually do this. I use helm-info from the helm package. Using helm-info, I find it very convenient to search t

Re: Simple reconfigure

2018-04-28 Thread Arun Isaac
myg...@gmail.com writes: > I call these "cons traps" because the first thing our new user may do is > add a file system or user and be greeted by a scheme error ... > > Wrong number of arguments to # > > WDYT of replacing all these uses of cons with cons*? - George I think we should use append an

Re: Recommendations for browsing via Tor pre tor-browser?

2018-07-12 Thread Arun Isaac
> What are you doing in the interim? icecat with a set of extensions? I run `tor' from the command line. It opens up a SOCKS proxy at port 9050. I set that proxy in Icecat and use it along with Private Browsing mode. I use the extension "MM3-ProxySwitch" to make switching proxies convenient. I

Re: Recommendations for browsing via Tor pre tor-browser?

2018-07-13 Thread Arun Isaac
>>> What are you doing in the interim? icecat with a set of extensions? >> >> I run `tor' from the command line. It opens up a SOCKS proxy at port >> 9050. > > On GuixSD you can use the tor-service instead. Ah, that's nice. I didn't think of that! Thank you!

udev-rules for my FST-01 gnuk security token

2018-07-13 Thread Arun Isaac
I am trying to get my FST-01 gnuk security token working on GuixSD. According to their documentation (https://www.fsij.org/doc-gnuk/udev-rules.html), I need to add a custom udev-rule. I am trying to use the configuration shown below to achieve the same. But, I don't see any file by the name "60-g

Re: udev-rules for my FST-01 gnuk security token

2018-07-27 Thread Arun Isaac
Thank you for your very detailed response, Chris! That does clear up my confusion with udev. I am yet to get my FST-01 gnuk security token working. But, that must be a problem elsewhere, and I'll figure it out. If I need any further help, I'll ask on this list. Thanks!

Re: udev-rules for my FST-01 gnuk security token

2018-07-29 Thread Arun Isaac
> I have no clue if it's related to your case, but for my Nitrokey there was > some > special setup as detailed in this thread: > > https://lists.gnu.org/archive/html/help-guix/2018-05/msg00187.html Thanks for the link. I have the exact same problem. The Nitrokey Start and the FST-01 gnuk

Re: udev-rules for my FST-01 gnuk security token

2018-07-29 Thread Arun Isaac
> I have no clue if it's related to your case, but for my Nitrokey there was > some > special setup as detailed in this thread: > > https://lists.gnu.org/archive/html/help-guix/2018-05/msg00187.html The same solution works! Install pcsc-lite and ccid into user profile, and run the followi

Re: udev-rules for my FST-01 gnuk security token

2018-08-03 Thread Arun Isaac
> We do need a service for this. I'll write one if nobody beats me to > it. I have created a Guix service for pcscd. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32358 It looks like the udev rules were completely unnecessary for my gnuk token. Running the pcscd daemon alone was sufficient. Pe

Re: Problems with GNU Parallel and ulimit

2018-08-11 Thread Arun Isaac
> This is fixed by 4e7950fdce5b83db018c44a80ec4a4059612d716 (it adds a > wrap-program phase). I just verified this. It works. Thanks! :-)

Enable guix-devel-mode only in guix source files

2018-08-17 Thread Arun Isaac
How do I enable guix-devel-mode only in guix source files? The suggested method in the manual (shown below) enables guix-devel-mode in all scheme-mode buffers. (add-hook 'scheme-mode-hook 'guix-devel-mode) I know I can write some elisp to find the buffer-file-name, find if it is in my guix sour

Re: Enable guix-devel-mode only in guix source files

2018-08-19 Thread Arun Isaac
>> A better approach might be to add it to .dir-locals.el upstream. What do you >> people think? > > I think the less is added to "dir-locals" the better. Especially, there > shouldn't be any functions there in my opinion. Thanks, Alex and Pierre, for your replies. But, why is adding to dir-lo

Configuring a service but not starting it on boot

2018-11-27 Thread Arun Isaac
I would like to have the a service (specifically the tor service) listed in my config.scm and configured using `guix system reconfigure config.scm'. But, I do not want the service to start up at boot time. I want to start/stop it using `herd' later as and when I require it. How do I achieve this?

Re: Configuring a service but not starting it on boot

2018-11-28 Thread Arun Isaac
> Attached is a hack I did a while ago. Hacks like the one you showed could work, but it would be nice to have a general purpose #:auto-start? property common to all services. Is there such a feature? If not, could we implement such a feature?

Re: Configuring a service but not starting it on boot

2018-11-28 Thread Arun Isaac
> It would be best if we had a generic way to say which Shepherd > services should be started automatically and which shouldn’t. Could you describe some way to achieve this? If it's simple enough, I can implement it and contribute a patch.

Re: Configuring a service but not starting it on boot

2018-11-30 Thread Arun Isaac
> One thing I proposed long ago is this: > . It would allow us to address > this kind of issue but it has the drawback that it makes it harder to > reason about the relationships among services: anything can happen. I can see how the proposed finalization s

Re: bug#34211: error running container: mingetty cannot find ttys

2019-02-14 Thread Arun Isaac
> please any hint on how to "manually" remove those two failing services? You should do something along the lines of the following: (remove (lambda (service) (let ((type (service-type-name (service-kind service (or (eq? type 'mingetty) (eq? type 'console

Re: bug#34211: error running container: mingetty cannot find ttys

2019-02-15 Thread Arun Isaac
>> You should do something along the lines of the following: >> >> (remove (lambda (service) >> (let ((type (service-type-name (service-kind service >> (or (eq? type 'mingetty) >> (eq? type 'console-fonts >> %base-services) > > thank you for yo

Re: bug#34211: error running container: mingetty cannot find ttys

2019-02-15 Thread Arun Isaac
> so it's possible to "manually" remove the unneeded mingetty and > console-fonts services from containers > > how could it be automated? should it be automated? (IMHO yes) I too believe it should be automated. But, I'll leave the others on this thread to come to a decision. signature.asc Desc

Re: A few questions about guix containers

2019-05-27 Thread Arun Isaac
28 > > I haven't given it enough attention, but recently Arun Isaac looks to > have picked it up, so I'm hopeful that this functionality might be more > widely available soon. I finished and pushed this patch to master a week ago. So, it is ready for wider use! :-) After t

List build dependencies of a store item

2019-10-22 Thread Arun Isaac
I am customizing the git-minimal package, and for some reason python is getting rebuilt from source, and I'm not able to figure out why. I can recursively list/graph runtime dependencies (references) of a store item using the following commands. guix size /gnu/store/... guix graph -t references

Re: List build dependencies of a store item

2019-10-23 Thread Arun Isaac
> I think a store item doesn't know where it comes from, so you can only > find its runtime references. That's a good point. I missed that. > If you have a package foo, you can find its build-time dependencies > with guix graph: > > guix graph foo Indeed, this is what I want but for a modified

Re: List build dependencies of a store item

2019-10-23 Thread Arun Isaac
>> I am customizing the git-minimal package, and for some reason python is >> getting rebuilt from source, and I'm not able to figure out why. I figured this is due to git-minimal depending on curl which in turn depends on python as a native-input. > I assume git-minimal is used for the guile-gi

Re: List build dependencies of a store item

2019-10-23 Thread Arun Isaac
> The script is here: > https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00212.html Yes, this is the one. Thank you! signature.asc Description: PGP signature

Re: How to present Guix to a wider audience

2020-01-14 Thread Arun Isaac
> I just wrote a short draft which hopefully should explain in layman > terms why Guix matters. > > I tried to keep short (< 1000 words) and to stick to non-technical > vocabulary. > > Let me know what you think! Reads well to me, but that could be because I already understand the content of the

Re: AVR toolchain and AVR libc

2020-02-23 Thread Arun Isaac
If I remember correctly, our avr-toolchain@5.5.0 package is broken, but the avr-toolchain@4.9.4 package works. Could you try with avr-toolchain@4.9.4 and see if the problem still persists? I successfully built the QMK firmware some half a year ago, and I used the avr-toolchain 4.9 to do it. sign

Re: AVR toolchain and AVR libc

2020-02-23 Thread Arun Isaac
> Now I made this environment and it still fails. > > guix environment --ad-hoc unzip wget avr-toolchain@4.9 dfu-programmer > dfu-util gcc-toolchain arm-none-eabi-toolchain > > Now the error is different: > /gnu/store/p7cs7wfvz26jyyr1qifkl68cr9i61ndq-profile/avr/include/avr/power.h:1149:1: > err

Re: AVR toolchain and AVR libc

2020-02-23 Thread Arun Isaac
> BTW, is there any resource point to why the package of the > avr-toolchain 5.5 is broken? I searched through my mail and I don't remember exactly where I read that avr-toolchain 5.5 is broken and avr-toolchain 4.9 works. I was only able to find this very old thread hinting about the problem. h

Re: AVR toolchain and AVR libc

2020-02-28 Thread Arun Isaac
>> BTW, is there any resource point to why the package of the >> avr-toolchain 5.5 is broken? > > I searched through my mail and I don't remember exactly where I read > that avr-toolchain 5.5 is broken and avr-toolchain 4.9 works. I found the bug report I was looking for. Hope that helps! https:

Re: AVR toolchain and AVR libc

2020-02-29 Thread Arun Isaac
> Anyway, a second problem appears when it tries to find `stubs32.h`, > which is supposed to be part of multilib... so it should be part of > avr-libc in this case but it isn't even installed (I searched for it > in my Guix profile with no success, but I find `stubs.h`). > > Now I need to find why

transmission-remote-cli not symlinked in ~/.guix-profile/bin/

2016-08-22 Thread Arun Isaac
I installed the package `transmission-remote-cli` in my profile with `guix package -i transmission-remote-cli`. But, the executable `transmission-remote-cli` is not symlinked into ~/.guix-profile/bin/. I have noticed similar problems in some other packages as well. How does guix decide which exec

Re: transmission-remote-cli not symlinked in ~/.guix-profile/bin/

2016-08-22 Thread Arun Isaac
Alex Kost writes: > Are you sure you did "guix package -i transmission-remote-cli" as > user? Yeah, I'm pretty sure. Just to be doubly sure, I removed the package with `guix package -r transmission-remote-cli` and installed again with `guix package -i transmission-remote-cli`. Still, the same pr

Re: transmission-remote-cli not symlinked in ~/.guix-profile/bin/

2016-08-23 Thread Arun Isaac
> What is the output of: > > $ file ~/.guix-profile /home/arunisaac/.guix-profile: symbolic link to /home/arunisaac/.guix-profile-2-link > $ file ~/.guix-profile/bin/transmission-remote-cli /home/arunisaac/.guix-profile/bin/transmission-remote-cli: cannot open `/home/arunisaac/.guix-profi

Re: transmission-remote-cli not symlinked in ~/.guix-profile/bin/

2016-08-24 Thread Arun Isaac
>> /home/arunisaac/.guix-profile: symbolic link to >> /home/arunisaac/.guix-profile-2-link > > That looks unusual to me. I created a new test user (to get a guix-profile from scratch), and there was no issue with transmission-remote-cli. Maybe, I should just delete my ~/.guix-profile and ~/.guix

Re: transmission-remote-cli not symlinked in ~/.guix-profile/bin/

2016-08-24 Thread Arun Isaac
>> > What is the output of: >> > >> > $ file ~/.guix-profile >> >> /home/arunisaac/.guix-profile: symbolic link to >> /home/arunisaac/.guix-profile-2-link > > That looks unusual to me. For me, it's like this, both on GuixSD and > Guix on another distro: > > $ file ~/.guix-profile > /home/leo/.

Packaging packages with GPG signed source archives

2016-08-30 Thread Arun Isaac
I am trying to package a package that provides a GPG signed source archive. Is there any way to get Guix to verify this signature, by say, specifying it in the 'origin' object of the 'source' field of the package? What is the standard way this is done in Guix? Thanks, Arun Isaac.

Re: Packaging packages with GPG signed source archives

2016-08-31 Thread Arun Isaac
> I think the procedure is: a packager verifies the source and that's it. > Since a package has a hash of the source, we can be sure that the source > wasn't changed since it was packaged, so if we find that a package has > a compromised source, we can blame the packager. Ah, that sounds good eno

Re: Packaging packages with GPG signed source archives

2016-08-31 Thread Arun Isaac
> Does Parabola have some sort of keyring that all the upstream keys go > into? Or did I misinterpret your suggestion? I'm not familiar with the > Parabola package management system. No, Parabola does not collect upstream keys into any centralized keyring. When you are building a package from so

Re: How to make current icecat less crashy

2016-11-03 Thread Arun Isaac
> Seems to work here! (I haven't noticed the font issue but I could just > be missing it.) Interesting. I have been having font issues with the Tamil (Indic script) language with respect to bold and italic text. I thought they were unrelated to the crashes. But, maybe, they are related. signat

Re: I installed GuixSD on my laptop

2017-06-04 Thread Arun Isaac
> 4. ibus is not working in xfce. I copied the paths from the popup of > ibus-setup into my .bashrc, but even after login out, I couldn't get any > program to actually use ibus. I also had no success in gnome later. I > was trying to get Japanease input to work. Yes, ibus wasn't working when last

Re: First installation - Questions

2017-07-02 Thread Arun Isaac
Sohom Bhattacharjee writes: > 5. When i do a `guix size ` the sizes are generally huge (1.3Gb > for icecat in my system). Why is it so ? `guix size ' reports the size of the entire dependency tree, not just the one package you specify. Notice that `guix size ' and `guix size ' add up to more tha

Pulling from guix git repo fails

2017-08-03 Thread Arun Isaac
I'm not able to pull from the guix repo. Has some URL changed? I have commit access. $ git pull ssh: connect to host git.sv.gnu.org port 22: Connection timed out fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. $ git r

Re: Pulling from guix git repo fails

2017-08-03 Thread Arun Isaac
I just found out that my ISP (BSNL -- run by the Indian government and one of the largest ISPs in India) has blocked outgoing connections on port 22 for the entire country because of "malware attacks". Many people are affected. So, I'm hoping this absurdly stupid decision will be reversed soon. S

Re: Firewall available? Also a note about one package...

2017-08-10 Thread Arun Isaac
RoundDuck Man writes: > Is there a firewall package in GNU GuixSD? I can't find ufw or firewalld. Yes, ufw and firewalld have not yet been packaged. > The other issue is that a package, simplescreenrecorder, isn't availible at > all, but is in the packages list. I don't understand. simplescree

Problems with GNU Parallel and ulimit

2017-08-13 Thread Arun Isaac
Does `parallel' work for anybody? When I run $ ls | parallel echo I get the following error message, and nothing happens. parallel: Warning: No more processes: Decreasing number of running jobs to 1. parallel: Warning: Raising ulimit -u or /etc/security/limits.conf may help. parallel: Error: No

Re: Problems with GNU Parallel and ulimit

2017-08-14 Thread Arun Isaac
Leo Famulari writes: > On Mon, Aug 14, 2017 at 12:46:25PM +1000, Ben Woodcroft wrote: >> On 14/08/17 12:31, Arun Isaac wrote: >> > Does `parallel' work for anybody? When I run >> > >> > $ ls | parallel echo >> > >> > I get the followi

Re: Problems with GNU Parallel and ulimit

2017-08-17 Thread Arun Isaac
Eric Bavier writes: > The problem appears if you do not have 'perl' available in $PATH. GNU > parallel calls it recursively for a few tasks: This is correct. I have verified it. When I have perl in my PATH, GNU parallel works fine. > There is some path patching that goes on in the package recip

List all open bug reports with emacs-debbugs

2017-08-17 Thread Arun Isaac
How do I list all open bug reports for guix-patches with emacs-debbugs? I'm sorry I'm unable to figure this out by myself. But, debbugs and emacs-debbugs are confusing at times. Thanks, Arun.

Re: List all open bug reports with emacs-debbugs

2017-08-18 Thread Arun Isaac
> I was confused too. Ended up with this in my emacs init file ... > > (defun view-guix-bugs () > "view guix bugs." > (interactive) > ;; (debbugs-gnu SEVERITIES &optional PACKAGES ARCHIVEDP SUPPRESS TAGS) > (debbugs-gnu nil "guix" nil nil nil) > ) Thanks! But, this also lists bug report

Re: List all open bug reports with emacs-debbugs

2017-08-18 Thread Arun Isaac
> Chris Webber posted an excellent tutorial some while back: > > https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00629.html Yes, that helps! This information should be in HACKING. I have submitted a patch adding the same. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28141

Re: networkmanager hostname woes

2017-09-13 Thread Arun Isaac
Thomas Danckaert writes: > Hi Guix, > > since the change to networkmanager, I've been running into the > following problem: when I connect to a wireless network using > networkmanager, I can no longer start graphical applications > (starting any program fails with “cannot open display :0.0” an

Re: How do I check out a package w/o installing it?

2018-01-29 Thread Arun Isaac
George myglc2 Clemmer writes: > I tried to use 'guix environment' to check out znc this way ... > > guix environment --ad-hoc znc -- emacs -nw > > the znc man is unavailable ... I have been wondering the same. It would be nice if at least the man and info documentation was available somehow. Wha

Re: How do I check out a package w/o installing it?

2018-01-30 Thread Arun Isaac
"Thompson, David" writes: > On Mon, Jan 29, 2018 at 2:20 PM, Arun Isaac > wrote: >> George myglc2 Clemmer writes: >> >>> I tried to use 'guix environment' to check out znc this way ... >>> >>> guix environment --ad-hoc znc -- e