Re: Having a problem invoking curl only when using guix pull

2019-05-16 Thread Tobias Geerinckx-Rice
John, John Soo wrote: Others may correct me if I’m wrong here, but during the build phase, network io is off limits. This is since there is not way to reliably guarantee the contents of things gotten over the network remain unchanged between builds, and so would break the immutability guarant

Re: Having a problem invoking curl only when using guix pull

2019-05-16 Thread Brian Woodcox
> On May 16, 2019, at 6:21 PM, John Soo wrote: > > Hi Brian, > > Others may correct me if I’m wrong here, but during the build phase, network > io is off limits. This is since there is not way to reliably guarantee the > contents of things gotten over the network remain unchanged between bui

Re: Having a problem invoking curl only when using guix pull

2019-05-16 Thread John Soo
Hi Brian, Others may correct me if I’m wrong here, but during the build phase, network io is off limits. This is since there is not way to reliably guarantee the contents of things gotten over the network remain unchanged between builds, and so would break the immutability guarantees of the pac

Re: Having a problem invoking curl only when using guix pull

2019-05-16 Thread Brian Woodcox
> Perhaps all you need is to include the curl package in your package's > native-inputs field. > > Also as a side note, I'm not entirely sure if using open-input-pipe would be > considered good practice for packages as far as reproducibility is concerned. > Perhaps someone else can comment on that

Re: Having a problem invoking curl only when using guix pull

2019-05-16 Thread Brian Woodcox
> > Hi, > > I’m having problems with a piece of code. > > ;; Retrieve git commit date > (define get-commit-date (lambda _ > (let* ((out (open-input-pipe (format #f "curl --silent '~a'" %api-url))) > (str (get-string-all out)) > (queryResults (json-string->scm str)) > (da

Re: guix weather ("Gateway Time-out")

2019-05-16 Thread Gábor Boskovits
Hello, zimoun ezt írta (időpont: 2019. máj. 16., Cs, 15:37): > Dear, > > Running: > > $ guix weather --substitute-urls=https://ci.guix.info > or > $ guix weather --substitute-urls=https://ci.guix.gnu.org > > ends with: > > 'https://ci.guix.info/api/queue?nr=1000' returned 504 ("Gateway Time-ou

guix pack -f docker and profile ?

2019-05-16 Thread zimoun
Dear, The command line: guix pack \ -f docker \ -C none \ -S /bin=bin \ -S /lib=lib \ -S /share=share \ -S /etc=etc \ glibc-utf8-locales coreutils tzdata \ b

Re: Input method change in GNU IceCat installed via Guix

2019-05-16 Thread Zelphir Kaltstahl
Hello, I seem to have solved this issue now. I uninstalled fcitx using apt on my Xubuntu and then installed it using Guix package manager. After a relogin (actually restart, but probably relogin is sufficient) I can not successfully write Chinese characters inside IceCat. So I guess the learning

Re: Package recommended environment variables

2019-05-16 Thread Jeff Bauer
I've put the following in my .profile: GUIX_PROFILE="$HOME/.guix-profile" if [ -d $GUIX_PROFILE ] || [ -h $GUIX_PROFILE ] ; then export GUIX_PROFILE export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale/ source $GUIX_PROFILE/etc/profile fi I have it set up this way so my .profile is portable b

guix weather ("Gateway Time-out")

2019-05-16 Thread zimoun
Dear, Running: $ guix weather --substitute-urls=https://ci.guix.info or $ guix weather --substitute-urls=https://ci.guix.gnu.org ends with: 'https://ci.guix.info/api/queue?nr=1000' returned 504 ("Gateway Time-out") 'https://ci.guix.gnu.org/api/queue?nr=1000' returned 504 ("Gateway Time-out")

Re: Package recommended environment variables

2019-05-16 Thread Tk
‐‐‐ Original Message ‐‐‐ On Thursday, 16 May 2019 13:21, Tobias Geerinckx-Rice wrote: > Tk, > > Tk wrote: > > > When installing packages, I often get warnings about adding > variables to > > .profile . > > Which warnings are these? Are you sure that's what they mean? > > Something like ‘

Re: Package recommended environment variables

2019-05-16 Thread Amirouche
On 2019-05-16 11:25, Tk wrote: When installing packages, I often get warnings about adding variables to .profile . These warnings, however, get easily lost when installing bunch of stuff automatically. Is there a way of extracting this info again? Should I grep through package definitions? $ g

Re: Package recommended environment variables

2019-05-16 Thread Tobias Geerinckx-Rice
Tk, Tk wrote: When installing packages, I often get warnings about adding variables to .profile . Which warnings are these? Are you sure that's what they mean? Something like ‘the following variable definitions might be needed’ doesn't mean you should go edit your .profile, but you're far

Re: Fingerprint Service

2019-05-16 Thread Tobias Geerinckx-Rice
Raghav Gururajan wrote: After Danny's fix, fprintd just works on my X230T: λ fprintd-enroll Using device /net/reactivated/Fprint/Device/0 Enrolling right-index-finger finger. …and the finger print reader lights right up! That's cool! I will try and get back to you. :-) Typing "λ fprintd-enr

Re: Fingerprint Service

2019-05-16 Thread Raghav Gururajan
> ~ λ is my bash prompt :-) > > fprintd-* commands are part of the ‘fprintd’ package. ‘guix > install fprintd’ and try again. > > Now, to actually use the reader for ‘authentication’ to existing > services (screen lockers, display managers, prompts…) you'll > probably have to write your own PAM r

Re: Trying to contribute packages: ./pre-inst-env doesn't work

2019-05-16 Thread Doron Behar
On Wed, May 15, 2019 at 11:26:08PM +0200, Ricardo Wurmus wrote: > It compiles Guile modules. Using compiled modules is faster than having > to interpret everything. You can try without compiling changed modules > but the performance penalty when you have lots of interpreted modules > will likely

Package recommended environment variables

2019-05-16 Thread Tk
When installing packages, I often get warnings about adding variables to .profile . These warnings, however, get easily lost when installing bunch of stuff automatically. Is there a way of extracting this info again? Should I grep through package definitions? Tk Sent with [ProtonMail](https://

Re: Fingerprint Service

2019-05-16 Thread Raghav Gururajan
>> Instead, it’s supposed to be started on demand when applications ask for >> the fingerprint service. The ‘fprintd’ package provides several >> commands starting with ‘fprintd-’ that should allow you to check whether >> it’s working. > > Got it :-) Typing "fprintd-" in the terminal throws "comm

Re: Fingerprint Service

2019-05-16 Thread Raghav Gururajan
>> After Danny's fix, fprintd just works on my X230T: >> >> λ fprintd-enroll >> Using device /net/reactivated/Fprint/Device/0 >> Enrolling right-index-finger finger. >> >> …and the finger print reader lights right up! > > That's cool! I will try and get back to you. :-) Typing "λ fprintd-enroll

Re: Tor Service

2019-05-16 Thread Raghav Gururajan
>> Does /var/log/messages contain additional hints? > > Will look into it and get back to you. :-) Apr 23 19:55:57 localhost Tor[1]: Tor 0.3.4.11 (git-4fd31340f3355342) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.0.2p, Zlib 1.2.11, Liblzma 5.2.4, and Libzstd 1.3.8. Apr 23 19:55:57 l