Re: ntpd: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized

2019-11-10 Thread Maxim Cournoyer
Hello Matias,

Matias Jose Seco Baccanelli 
writes:

> On Fri, 1 Nov 2019 22:13:11 +0100
> Matias Jose Seco Baccanelli  wrote:
>
>> Benvenuti Guixers,
>> i wanted to share a time riddle which i'm unable to solve.
>> Actually my timezone is aligned to :
>>   (timezone "Europe/Rome")
>>
>> Yet, system time is 1h 20m behind the official one
>> ~$ date
>> ven  1 nov 2019, 21.49.30, CET
>> (23.09 at the time of writing)
>>
>> My system was installed with the graphical installer, guix version
>> 1.0.1, Mate DE.
>>
> [...]
>
> Salve!
> In addition to previous information, i wanted to ask if it would be
> possible to solve the time synchronization by installing further
> software.
>
> Actually my scm declares ntp service through %desktop-service
> variable. Should i add other properties ?
>

[...]

The most likely reason to see this message (and have a wrong system
date) is that your hardware clock is wrong.  This shouldn't be an issue
anymore on recent Guix, but older Guix NTP service configuration used to
refuse to update your clock if there was a discrepancy of more than 3600
s between your hardware clock and the system clock (the one sync'd with
the NTP server).

So, either:

1. Update your hardware clock
2. Use a recent Guix, and let some time for the NTP service to sync your
clock.

As an alternative to 2, you could set the "allow-large-adjustment?"
field of your NTP configuration to #t manually (that's what Guix does by
default since commit 08b4a10fa6b).

HTH!

Maxim



Re: gaming in guix

2019-11-10 Thread Julien Lepiller
Le 10 novembre 2019 20:14:26 GMT+01:00, r...@tuta.io a écrit :
>hi everyone! Really love this distro, but have some questions. 
>1) Does anyone use steam? Any way to install it?
>2) Does anyone install games from GOG? How to?
>3) Does anyone use lutris? Any way to use it?
>4) Didn't found ldd to make usable proprietory binaries =( Any tips?
>
>P.S.: I understand that some of this question may hurt some foss boys
>and girls. But, games are important for me and I really like guix...
>Mybe somebody had these problems and could share his/her exp ...

Hi,

Just a quick reminder that non free software and especially recommendations on 
running them is off-topic on this list.

That said, there are some nice games running on guix: openttd, 0ad, minetest to 
name a few. Have a look at the content of gnu/packages/games.scm :)



Re: gfortran seems to require gcc-toolchain

2019-11-10 Thread Marius Bakke
Efraim Flashner  writes:

> On Sun, Nov 10, 2019 at 12:03:37AM +0100, Marius Bakke wrote:
>> Konrad Hinsen  writes:
>> 
>> > Hi Guix,
>> >
>> > I am trying to recompile old Fortran code under Guix. I made an (pure)
>> > environment containing "gfortran" plus a few required tools (make etc.),
>> > but found that every Fortran compilation stops with an error message
>> > complaining about "as" missing. Installing gcc-toolchain fixes the
>> > problem.
>> 
>> 'as' is part of Binutils, you don't need the entire toolchain.
>> 
>> That said, there are various other workarounds in Guix due to GCC
>> (and apparently gfortran) lacking an absolute reference to 'as'.
>> 
>> Can you try the following patch and see if it works for your case?
>> 
>
> Unfortunately the diff is empty. Unless you were implying Guix is
> perfect ;D

Lol, whoops.  Let me try this again:

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index bda6a2b48a..e01beaca86 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -623,10 +623,14 @@ as the 'native-search-paths' field."
 (srfi srfi-26))
,@(package-arguments gcc))
((#:configure-flags flags)
-`(cons (string-append "--enable-languages="
-  ,(string-join languages ","))
-   (remove (cut string-match "--enable-languages.*" <>)
-   ,flags)))
+`(append (list (string-append "--enable-languages="
+  ,(string-join languages ","))
+   ;; TODO: Move to 'gcc' in the next rebuild cycle.
+   (string-append "--with-as="
+  (assoc-ref %build-inputs "binutils")
+  "/bin/as"))
+ (remove (cut string-match "--enable-languages.*" <>)
+ ,flags)))
((#:phases phases)
 `(modify-phases ,phases
(add-after 'install 'remove-broken-or-conflicting-files


signature.asc
Description: PGP signature


gaming in guix

2019-11-10 Thread rndd
hi everyone! Really love this distro, but have some questions. 
1) Does anyone use steam? Any way to install it?
2) Does anyone install games from GOG? How to?
3) Does anyone use lutris? Any way to use it?
4) Didn't found ldd to make usable proprietory binaries =( Any tips?

P.S.: I understand that some of this question may hurt some foss boys and 
girls. But, games are important for me and I really like guix... Mybe somebody 
had these problems and could share his/her exp ...


Guix on Android; Nix already runs

2019-11-10 Thread 白い熊


Hi Guix: 
 
Accidentally, I've stumbled upon the “Nix-on-Droid” app in F-droid and then 
I've found “I succeeded in running Nix on Android” 
https://discourse.nixos.org/t/i-succeeded-in-running-nix-on-android-now-without-termux/2271[https://discourse.nixos.org/t/i-succeeded-in-running-nix-on-android-now-without-termux/2271]
 
I've installed it and indeed it bootstraps Nix and it runs — here the initial 
run log: 
 
———
Welcome to Nix-on-Droid!
If nothing works, use the rescue shell and read 
/data/data/com.termux.nix/files/usr/usr/lib/login-inner
If it does not help, report bugs at 
https://github.com/t184256/nix-on-droid-bootstrap/issues[https://github.com/t184256/nix-on-droid-bootstrap/issues]
Sourcing Nix environment...
Installing and updating nix-channels...
warning: Nix search path entry 
'/data/data/com.termux.nix/files/home/.nix-defexpr/channels' does not exist, 
ignoring
these derivations will be built:
 /nix/store/p7616rl0i21f5a9jlkmzzgqcpmcm7r1n-nix-on-droid.drv
building '/nix/store/p7616rl0i21f5a9jlkmzzgqcpmcm7r1n-nix-on-droid.drv'...
unpacking channels...
created 2 symlinks in user environment
Installing nix-on-droid.basic-environment...
installing 'basic-environment'
copying path '/nix/store/c30q4ij77cxkgf35iig3q0zv6hv8x0ky-glibc-2.27' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/xfcixd8vxx2j4iyvqkhv13qzhap05y0h-gnu-config-2019-04-15' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/npg2w826qzzknzwhf47p1by7370g41fv-attr-2.4.48' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/nvv874lqz94nbyfl0fxqmcwgjpgs2xvr-bash-4.4-p23' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/3k8rqap0lgwbcs34mdgsha30w5w1w9qj-acl-2.2.53' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/32ilhdb3v6dpfzlc1x8lm16aradjjgvl-bzip2-1.0.6.0[1.0.6.0].1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/z9nm611aa7pll70ma4qr42wv6cph25sg-coreutils-8.31' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/sk79fw8n4sv3kv5clg6jjzz60xg8ywg8-bzip2-1.0.6.0[1.0.6.0].1-bin' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/da1nax1qsiv7z0zww4pfccy8wwsc256z-diffutils-3.7' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/0dfjv219aw3rz21hminy3qfk04hwzdwk-ed-1.15' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/bi6g52s1c5rgyrcsv2m50g865n18kw34-findutils-4.7.0' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/hwcwlbsnbgpw7qs0ib7x44ar482dp03j-gawk-5.0.1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/64lw8p4i4qzd2m1nysgg3ia5lx0bq48a-gcc-8.3.0-lib' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/3jziflvg7fjsi8jky66k4zcwmiphxwy5-gnumake-4.2.1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/fhqk2kwdk8r4hc0wcb1van0x1f4prz1i-gnused-4.7' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/qx6i8w48br8xc3rxg03rzhmq8azrcj4s-gnutar-1.32' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/wr3f7i59dz82sli4y07rnylnvdxgy0qy-gzip-1.10' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/k264gscm2sizks1nxkhh83crnk8vrl9b-hook' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/vz3z3wy8f5zv947dls37xnq9flarxz1f-patch-2.7.6' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/ycvn7bxzr2y52f9srwxy2l4228cv6s3m-patchelf-0.9' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/x8czkdnq6lxwpjf9xqwian2daziha2jn-pcre-8.43' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/8bwcc8awnx4kll1pwn3jda0phdmr3l6g-xz-5.2.4' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/r0var4bdf7yffzhbhin651ih1xv51jcw-gnugrep-3.3' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/3mzh0s6f4j1angzix9j4abm9rpi8r16v-xz-5.2.4-bin' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/an1ppnjc4qf5slw4pmwz1n3zcrn24f87-stdenv-linux' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
building '/nix/store/w2mrmpb01hwary8bpjyl0grp8hykry8c-ids.nix.drv'...
these derivations will be built:
 /nix/store/84skkmwg17rhix2bq9xdknx20wvcaz3c-login-inner.drv
 
/nix/store/c8wjh351a2bqvvha0knhgqranjjqvv4j-builder.pl[c8wjh351a2bqvvha0knhgqranjjqvv4j-builder.pl].drv
 /nix/store/ck4mvadlm687jqsgid2shpl1382ss73f-login.drv
 /nix/store/f98vfyxrami0cj012yzsib1qnk4dd3jp-resolv.conf.drv
 /nix/store/hdyklpsac3rj58ffdsbd9ancp2i26sbb-group.drv
 

Re: REQUEST to Guix Maintainers

2019-11-10 Thread Raghav Gururajan

> pandoc is a good idea, but the texinfo file causes error messages. I
> did
> the following, which worked well:
> 
> makeinfo --html --no-split guix-cookbook.texi
> pandoc guix-cookbook.html -o guix-cookbook.epub

Thank you :-)

Regards,
RG.


signature.asc
Description: This is a digitally signed message part


Re: REQUEST to Guix Maintainers

2019-11-10 Thread Andreas Enge
Hello,

On Wed, Nov 06, 2019 at 11:35:04AM +0100, zimoun wrote:
> Or maybe Pandoc https://pandoc.org/epub.html using directly the texinfo file.

pandoc is a good idea, but the texinfo file causes error messages. I did
the following, which worked well:

makeinfo --html --no-split guix-cookbook.texi
pandoc guix-cookbook.html -o guix-cookbook.epub

Andreas