Re: python-minimal built too often

2019-01-06 Thread Clément Lassieur
Sorry I sent the email too early.

My small GuixSD machine builds python-minimal after a reconfigure that
only changes an nginx configuration.

What I did is:

guix pull (building python-minimal)
guix reconfigure config.scm
small nginx config change in config.scm
guix reconfigure config.scm (building python-minimal, again)

It takes a long time for my machine to build python-minimal, so it's
pretty annoying.  Is it a bug?  A configuration error?  Any idea how I
could fix it?

Thanks,
Clément

Clément Lassieur  writes:

> Hi,
>
> My small GuixSD machine builds python-minimal after a reconfigure that
> only changes an nginx




python-minimal built too often

2019-01-06 Thread Clément Lassieur
Hi,

My small GuixSD machine builds python-minimal after a reconfigure that
only changes an nginx



`scm` file parsing(read/write/modify)

2019-01-06 Thread Hamzeh Nasajpour


Hi,
I have a configuration file that written based on `scm` file like as `guixSD` 
config.scm file.
https://www.gnu.org/software/guix/manual/en/html_node/User-Accounts.html#User-Accounts


I want to read/write/modify this config file in python or C/C++.
Do you know any `scm` file parsing  or any other solution for my needed? In 
fact I want to add/remove/modify parameters of this config file.

Regards,
Hamzeh



Re: How long to install icecat?

2019-01-06 Thread znavko
Hi! Icecat with Rust may have long time installing. In my PC Intel 2.16GHZ - 
even for 1 day.

Swap: I configured swap with this line under (operating-system):

(operating-system

  (swap-devices '("/dev/sda2"))
...
)

You need to part your disk and also mkswap, swapon  on the /dev/sda2 or 
another. Look at manual 6.1.4.3 Disk Partitioning


Jan 7, 2019, 6:59 AM by kumagus...@gmail.com:

> Thank you. It's finished while I'm going out.
>
> I found my guix system has no swap. I think swap setting is necessary in 
> file-systems configuration.
>
>



Re: Problem with Tor & IceCat

2019-01-06 Thread znavko

Yes, Tor plugin in Icecat 63 not works properly. I reported it to a developer 
through his website.

There is one important thing that Tor plugin breaks. If you look at 
https://wiki.gentoo.org/wiki/Tor#Firefox 
 there are lines you should configure 
in about:config page in Icecat
network.proxy.socks_remote_dnstruenetwork.dns.disablePrefetch   
truenetwork.dns.disableIPv6   true
So plugin resets  'network.proxy.socks_remote_dns' to 'false' every time it 
runs and every time you start Icecat having tor plugin is activated. And this 
is why ISP performs dns requests. 



Jan 7, 2019, 2:02 AM by m...@gnu.org:

> On Sun, Jan 06, 2019 at 15:09:51 -0500, Joshua Branson wrote:
>
>> Now, when you start icecat, you may have to click on the tor plugin to
>> activate it, but it normally autostarts for me.
>>
>> Also, at least for me, that doesn't configure my browser to access tor
>> hidden services.  But it does run all of your http traffic through the
>> tor network, which is pretty cool.
>>
>
> That's concerning to me: it seems to imply that DNS requests are _not_
> being proxied through Tor, which could leak very sensitive information
> to your ISP and other parties.
>
> I use FoxyProxy Standard[0] (just by habit over the many years I've used
> Tor with Firefox), so I hadn't tried the Addon distributed with
> Icecat.  FoxyProxy has an option to proxy DNS requests through Tor (and
> does so by default IIRC).
>
> [0]: > https://directory.fsf.org/wiki/FoxyProxy_Standard 
> 
>
> -- 
> Mike Gerwitz
> Free Software Hacker+Activist | GNU Maintainer & Volunteer
> GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
> https://mikegerwitz.com 
>



Re: How long to install icecat?

2019-01-06 Thread 荒井吉則
Thank you. It's finished while I'm going out.

I found my guix system has no swap. I think swap setting is necessary in
file-systems configuration.

2019年1月7日(月) 15:03 swedebugia :

> "荒井吉則"  skrev: (7 januari 2019 01:46:50 CET)
> >I begun to guix package -i icecat 3 hours ago.
> >
> >building
> >/gnu/store/sp4wr4lic94pk7s6p473ysxrbyqvmqf7-icecat-60.3.0-gnu1.drv...
> >
> >still continuing 
> >
> >what's wrong ?
>
> Probably nothing.
> Use the -n flag to see what would be built before starting or after
> starting in a different terminal.
> --
> Sent from my p≡p for Android.
>


Re: How long to install icecat?

2019-01-06 Thread swedebugia
"荒井吉則"  skrev: (7 januari 2019 01:46:50 CET)
>I begun to guix package -i icecat 3 hours ago.
>
>building
>/gnu/store/sp4wr4lic94pk7s6p473ysxrbyqvmqf7-icecat-60.3.0-gnu1.drv...
>
>still continuing 
>
>what's wrong ?

Probably nothing. 
Use the -n flag to see what would be built before starting or after starting in 
a different terminal. 
-- 
Sent from my p≡p for Android.


pEpkey.asc
Description: application/pgp-keys


Re: Problem with Tor & IceCat

2019-01-06 Thread Mike Gerwitz
On Sun, Jan 06, 2019 at 15:09:51 -0500, Joshua Branson wrote:
> Now, when you start icecat, you may have to click on the tor plugin to
> activate it, but it normally autostarts for me.
>
> Also, at least for me, that doesn't configure my browser to access tor
> hidden services.  But it does run all of your http traffic through the
> tor network, which is pretty cool.

That's concerning to me: it seems to imply that DNS requests are _not_
being proxied through Tor, which could leak very sensitive information
to your ISP and other parties.

I use FoxyProxy Standard[0] (just by habit over the many years I've used
Tor with Firefox), so I hadn't tried the Addon distributed with
Icecat.  FoxyProxy has an option to proxy DNS requests through Tor (and
does so by default IIRC).

[0]: https://directory.fsf.org/wiki/FoxyProxy_Standard

-- 
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
https://mikegerwitz.com


signature.asc
Description: PGP signature


Re: Problem with Tor & IceCat

2019-01-06 Thread Matthias Lehr
Thanks, actually this would be the solution for me, but now I've
probably stumbled upon a real problem:

user@gnu ~$ su
Password: ...
root@gnu /home/user# guix system reconfigure /etc/config.scm
...
...
The following profile hooks will be built:
   /gnu/store/rdc3rj3ycgvp4ryzjn0f30cpnpcq659m-manual-database.drv
   /gnu/store/4kf8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv
   /gnu/store/vq23i377lxy5fr04400kigpj34ah89h6-xdg-mime-database.drv
   /gnu/store/zzy8vi3lp6h6f4lzxdrhs1zz975pn8p2-xdg-desktop-database.drv
building directory of Info manuals...
builder for `/gnu/store/4kf8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv'
failed with exit code 1 build
of /gnu/store/4kf8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv failed View
build log at
'/var/log/guix/drvs/4k/f8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv.bz2'.
cannot build derivation
`/gnu/store/y2815l3amfc87fah1xfppx22nqhydn55-profile.drv': 1
dependencies couldn't be built killing process 5397 cannot build
derivation `/gnu/store/ccfx4skdimjv3m2rn2h6jjm4kbzlr9qf-system.drv': 1
dependencies couldn't be built guix system: error: build failed: build
of `/gnu/store/ccfx4skdimjv3m2rn2h6jjm4kbzlr9qf-system.drv' failed
root@gnu /home/user#

Backtrace:
  10 (primitive-load "/gnu/store/y80hdrjx3rkvlc8nynncwflpxyc?")
In ice-9/eval.scm:
   721:20  9 (primitive-eval (begin (use-modules (guix build #) ?) ?))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c (eval) ?)
In ice-9/boot-9.scm:
  3377:20  4 (process-use-modules _)
   222:17  3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?))
  3378:31  2 (_ ((guix build utils)))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
   0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (guix build utils)

What is going wrong where? A new bug? Or a local system error?

Am Sun, 06 Jan 2019 15:09:51 -0500
schrieb Joshua Branson <>:

> Archetyp Jung  writes:
> 
> > Hello, the use of Tor with GNU IceCat does not work, Tor must be
> > configured as a system service?
> >
> > How exactly does Tor have to be entered here as a system service
> > in this config.scm?  
> 
> It's pretty easy actually.
> 

> 
> Now, when you start icecat, you may have to click on the tor plugin to
> activate it, but it normally autostarts for me.
> 
> Also, at least for me, that doesn't configure my browser to access tor
> hidden services.  But it does run all of your http traffic through the
> tor network, which is pretty cool.
> 
> --
> Joshua Branson
> Sent from Emacs and Gnus
> 

-- 
Sent from GNU



Re: Problem with Tor & IceCat

2019-01-06 Thread Archetyp Jung
Thanks, actually this would be the solution for me, but now I've
probably stumbled upon a real problem:

user@gnu ~$ su
Password: ...
root@gnu /home/user# guix system reconfigure /etc/config.scm
...
...
The following profile hooks will be built:
   /gnu/store/rdc3rj3ycgvp4ryzjn0f30cpnpcq659m-manual-database.drv
   /gnu/store/4kf8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv
   /gnu/store/vq23i377lxy5fr04400kigpj34ah89h6-xdg-mime-database.drv
   /gnu/store/zzy8vi3lp6h6f4lzxdrhs1zz975pn8p2-xdg-desktop-database.drv
building directory of Info manuals...
builder for `/gnu/store/4kf8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv'
failed with exit code 1 build
of /gnu/store/4kf8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv failed View
build log at
'/var/log/guix/drvs/4k/f8pyj9qfycq81flb3apd847kk5m8d9-info-dir.drv.bz2'.
cannot build derivation
`/gnu/store/y2815l3amfc87fah1xfppx22nqhydn55-profile.drv': 1
dependencies couldn't be built killing process 5397 cannot build
derivation `/gnu/store/ccfx4skdimjv3m2rn2h6jjm4kbzlr9qf-system.drv': 1
dependencies couldn't be built guix system: error: build failed: build
of `/gnu/store/ccfx4skdimjv3m2rn2h6jjm4kbzlr9qf-system.drv' failed
root@gnu /home/user#

Backtrace:
  10 (primitive-load "/gnu/store/y80hdrjx3rkvlc8nynncwflpxyc?")
In ice-9/eval.scm:
   721:20  9 (primitive-eval (begin (use-modules (guix build #) ?) ?))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) ?)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c (eval) ?)
In ice-9/boot-9.scm:
  3377:20  4 (process-use-modules _)
   222:17  3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?))
  3378:31  2 (_ ((guix build utils)))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
   0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
no code for module (guix build utils)

What is going wrong where? A new bug? Or a local system error?

Am Sun, 06 Jan 2019 15:09:51 -0500
schrieb Joshua Branson <>:

> Archetyp Jung  writes:
> 
> > Hello, the use of Tor with GNU IceCat does not work, Tor must be
> > configured as a system service?
> >
> > How exactly does Tor have to be entered here as a system service
> > in this config.scm?  
> 
> It's pretty easy actually.
> 

> Now, when you start icecat, you may have to click on the tor plugin to
> activate it, but it normally autostarts for me.
> 
> Also, at least for me, that doesn't configure my browser to access tor
> hidden services.  But it does run all of your http traffic through the
> tor network, which is pretty cool.
> 
> --
> Joshua Branson
> Sent from Emacs and Gnus
> 

-- 
Sent from GNU



How long to install icecat?

2019-01-06 Thread 荒井吉則
I begun to guix package -i icecat 3 hours ago.

building
/gnu/store/sp4wr4lic94pk7s6p473ysxrbyqvmqf7-icecat-60.3.0-gnu1.drv...

still continuing 

what's wrong ?


Re: My first impression for GuixSD

2019-01-06 Thread 荒井吉則
Sure, here it is.



2019年1月7日(月) 6:14 Chris Marusich :

> 荒井吉則  writes:
>
> > Thank you for your advice.
> >
> > At first it's my first installation of GuixSD. My config.scm is edited at
> > locale, users, file-systems only from original desktop-config.scm.
>
> Could you please share the config.scm file that you used?
>
> --
> Chris
>
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)

(operating-system
  (host-name "WaraToNora")
  (timezone "Asia/Tokyo")
  (locale "ja_JP.utf8")

  ;; Use the UEFI variant of GRUB with the EFI System
  ;; Partition mounted on /boot/efi.
  (bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))

  ;; Specify a mapped device for the encrypted root partition.
  ;; The UUID is that returned by 'cryptsetup luksUUID'.
  (file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
  %base-file-systems))

  (users (cons (user-account
(name "yoshi")
(comment "Maki's farther")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/yoshi"))
   %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs ;for HTTPS access
   gvfs  ;for user mounts
   %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with
  ;; NetworkManager, and more.
  (services (cons* (gnome-desktop-service)
   (xfce-desktop-service)
   %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))


Re: Bluetooth audio device on GuixSD

2019-01-06 Thread Maxim Cournoyer
Hi,

 writes:

> Hello! I am not able to use bluetooth on Xfce4 desktop using bluetoothctl. 
> Would you give more advises?

[...]

> # bluetoothctl
> Agent registered
> [bluetooth]# list
> [bluetooth]# 
> [bluetooth]# select
> Missing ctrl argument
> [bluetooth]# devices
> No default controller available
>
> Cannot see bluetooth device. 
> I do not know MAC-address. I cannot power on as described here
> Here say https://wiki.archlinux.org/index.php/Bluetooth#Pairing
>   `hciconfig
> hci0 up`cause I have no this tool.

You can configure the bluetooth service in your system's config to
automatically power up the bluetooth controller.  The Guix info manual
says:

 -- Scheme Procedure: bluetooth-service [#:bluez BLUEZ]
  [#:auto-enable? #f]
 Return a service that runs the ‘bluetoothd’ daemon, which manages
 all the Bluetooth devices and provides a number of D-Bus
 interfaces.  When AUTO-ENABLE? is true, the bluetooth controller is
 powered automatically at boot, which can be useful when using a
 bluetooth keyboard or mouse.


Here's what it looks like in mine:
--8<---cut here---start->8---
  (services
   (cons*
[...]
(bluetooth-service #:auto-enable? #t)
[...]
--8<---cut here---end--->8---

In your user-account record you'll also want to add "lp" in the list of
supplementary groups, so that your unprivileged user has access to your
bluetooth device:

--8<---cut here---start->8---
(user-account
[...]
 (supplementary-groups
   '("lp"   ;for bluetooth
   [...])))
--8<---cut here---end--->8---

HTH,

Maxim



Re: Problem with Tor & IceCat

2019-01-06 Thread Chris Marusich
Hi Archetyp,

Archetyp Jung  writes:

> Hello, the use of Tor with GNU IceCat does not work, Tor must be
> configured as a system service?
>
> How exactly does Tor have to be entered here as a system service
> in this config.scm?

The section "(guix) Networking Services" in the Guix manual describes
how to create a Tor service:

https://www.gnu.org/software/guix/manual/en/html_node/Networking-Services.html#index-tor_002dservice_002dtype

For example, here is how you would define a Tor service that uses a UNIX
domain socket:

  (service tor-service-type
   (tor-configuration
 (socks-socket-type 'unix)))

For details on how to configure Firefox or IceCat to use it, see:

https://lists.gnu.org/archive/html/help-guix/2018-07/msg00082.html

You might also want to read Devan's thoughtful message here, in which he
reminds us that the safest option is to use Tor Browser:

https://lists.gnu.org/archive/html/help-guix/2018-07/msg00075.html

I hope that helps!

-- 
Chris


signature.asc
Description: PGP signature


Re: My first impression for GuixSD

2019-01-06 Thread Chris Marusich
荒井吉則  writes:

> Thank you for your advice.
>
> At first it's my first installation of GuixSD. My config.scm is edited at
> locale, users, file-systems only from original desktop-config.scm.

Could you please share the config.scm file that you used?

-- 
Chris


signature.asc
Description: PGP signature


Re: guix pull symlink file exists

2019-01-06 Thread Chris Marusich
Hi Bradley,

Bradley Haggerty  writes:

> brad@kazuki:~/ > sudo -E guix pull
> Migrating profile generations to '/var/guix/profiles/per-user/root'...
> guix pull: error: symlink: File exists:
> "/var/guix/profiles/per-user/root/current-guix"

This sort of problem has occurred for others.  See, for example, this
post:

https://lists.gnu.org/archive/html/help-guix/2018-12/msg00107.html

Perhaps you accidentally ran a command as root which changed ownership
of a symlink from "brad" to "root".  It's possible to do that
accidentally because the "sudo" program is configured to behave
differently on different systems, so it may require slightly different
options than the examples you see from others or in the manual.

What are the outputs of these commands?

  sudo -E env | grep HOME

and

  sudo -HE env | grep HOME

Thank you,

-- 
Chris


signature.asc
Description: PGP signature


Re: Problem with Tor & IceCat

2019-01-06 Thread Joshua Branson
Archetyp Jung  writes:

> Hello, the use of Tor with GNU IceCat does not work, Tor must be
> configured as a system service?
>
> How exactly does Tor have to be entered here as a system service
> in this config.scm?

It's pretty easy actually.

>
> ;; This is an operating system configuration template
> ;; for a "desktop" setup with Xfce.
>
> (use-modules (gnu) (gnu system nss))
  (use-service-modules desktop networking)
> (use-package-modules certs)
>
> (operating-system
>   (host-name "gnu")
>   (timezone "Europe/Berlin")
>   (locale "de_DE.UTF-8")
>
>   ;; Assuming /dev/sda is the target hard disk, and "my-root"
>   ;; is the label of the target root file system.
>   (bootloader (grub-configuration (device "/dev/sda")))
>   (file-systems (cons (file-system
> (device "my-root")
> (title 'label)
> (mount-point "/")
> (type "ext4"))
>   %base-file-systems))
>
>   (users (cons (user-account
> (name "user")
> (comment "")
> (group "users")
> (supplementary-groups '("wheel" "netdev"
> "audio" "video"))
> (home-directory "/home/user"))
>%base-user-accounts))
>
>   ;; This is where we specify system-wide packages.
>   (packages (cons* nss-certs ;for HTTPS access
>%base-packages))
>
>   ;; Add GNOME and/or Xfce---we can choose at the log-in
>   ;; screen with F1.  Use the "desktop" services, which
>   ;; include the X11 log-in service, networking with
>   ;; NetworkManager, and more.
>   (services (cons* (console-keymap-service "de")
 (service tor-service-type)
>(xfce-desktop-service)
>%desktop-services))
>
>   ;; Allow resolution of '.local' host names with mDNS.
>   (name-service-switch %mdns-host-lookup-nss))

Now, when you start icecat, you may have to click on the tor plugin to
activate it, but it normally autostarts for me.

Also, at least for me, that doesn't configure my browser to access tor
hidden services.  But it does run all of your http traffic through the
tor network, which is pretty cool.

--
Joshua Branson
Sent from Emacs and Gnus



Problem with Tor & IceCat

2019-01-06 Thread Archetyp Jung
Hello, the use of Tor with GNU IceCat does not work, Tor must be
configured as a system service?

How exactly does Tor have to be entered here as a system service
in this config.scm?

;; This is an operating system configuration template
;; for a "desktop" setup with Xfce.

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs)

(operating-system
  (host-name "gnu")
  (timezone "Europe/Berlin")
  (locale "de_DE.UTF-8")

  ;; Assuming /dev/sda is the target hard disk, and "my-root"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (device "/dev/sda")))
  (file-systems (cons (file-system
(device "my-root")
(title 'label)
(mount-point "/")
(type "ext4"))
  %base-file-systems))

  (users (cons (user-account
(name "user")
(comment "")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/user"))
   %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs ;for HTTPS access
   %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with
  ;; NetworkManager, and more.
  (services (cons* (console-keymap-service "de")
   (xfce-desktop-service)
   %desktop-services))
 
  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

-- 
Sent from GNU



Re: [ANN] Emacs-Guix 0.5.1

2019-01-06 Thread Alex Kost
Ricardo Wurmus (2019-01-06 00:49 +0100) wrote:

> Hi Alex,
>
>> zimoun answered correctly.  I think it is the same problem as several
>> people have on non-GuixSD system.  Most likely, it will not be fixed on
>> Emacs-Guix side.  The only workaround I know is "guix package -i guix".
>
> Would it be feasible for Emacs-Guix to use
> “~/.config/guix/current/bin/guix repl”, which would have the effect of
> setting the load path as expected?

Interesting idea!  But AFAICT it is impossible: Emacs-Guix needs to run
Geiser in one way or another, but if you try:

  (setq geiser-guile-binary '("guix" "repl"))
  "M-x geiser"

it will fail because geiser tries to run it with "-q" and "-L" (with a
directory with Geiser Guile modules).  Obviously these options are not
supported by "guix repl".  Above that, Emacs-Guix uses "--listen"
option.

So I'm afraid as long as "guix repl" options are incompatible with
"guile" ones, it can't be used by Emacs-Guix.

-- 
Alex



Re: very few substitutes available?

2019-01-06 Thread Thomas Danckaert

From: swedebu...@riseup.net
Subject: Re: very few substitutes available?
Date: Sat, 05 Jan 2019 11:39:03 -0800

How long does it typically take before substitutes are available 
after

pulling from master?  Or is there a way to see (from ci.guix.info?)
which revision I should pull in order to have a maximum of 
substitutes

available?


Are you on 32 or 64 bit?
Paste "uname -a"


Hi,

I'm on GuixSD, 64-bit.  guix --version tells me I'm on revision 
afbf9763faf231c27ef25315d4d24379e1762568 (I last pulled on Jan 1).  
Guix weather reports 85.2% substitutes available, but then when I run 
'guix package' with that manifest, I find myself building 
(bootstrap?) binutils, glib, and multiple versions of gcc.  It 
doesn't even seem to look for substitutes (?):


$ guix package --manifest=config/manifest.scm
installing new manifest from 'config/manifest.scm' with 62 entries
building 
/gnu/store/nqdhvdaxljy8isvnvs9bawaj7q31z9vh-glibc-2.28.tar.xz.drv...
downloading from 
https://ftpmirror.gnu.org/gnu/glibc/glibc-2.28.tar.xz...
building 
/gnu/store/dyw59i3xi8j7xszrdxcl1zzmg3qmx4ly-gcc-4.9.4.tar.bz2.drv...
downloading from 
https://ftpmirror.gnu.org/gnu/gcc/gcc-4.9.4/gcc-4.9.4.tar.bz2...
building 
/gnu/store/qvnd4g7maw20jb2gv1x9w3rnf3bsm0hx-gcc-5.5.0.tar.xz.drv...
downloading from 
https://ftpmirror.gnu.org/gnu/gcc/gcc-5.5.0/gcc-5.5.0.tar.xz...

[...]

Strangely, I *do* get substitutes when I specify 
--substitute-urls=https://mirror.hydra.gnu.org.


What substitute server is currently recommended?  Or what could be 
wrong with my setup that I'm not finding these substitutes 
automatically?


Thomas



Bluetooth Device Compatible With LinuxLibre

2019-01-06 Thread znavko
Hello! I want to choose usb bluetooth adapter to connect laptop with bluetooth 
headphones.
Using 'GNU with Linux-Libre 4.20 (beta)' on Lenovo G50-30 and this list of 
devices I cannot use bluetooth, cause Atheros (wifi adapter with bluetooth all 
in one) has no free drivers in the kernel.

$ lspci
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC 
Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor 
Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA 
AHCI Controller (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx 
Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series 
High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express 
Root Port 1 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express 
Root Port 3 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express 
Root Port 4 (rev 0e)
00:1d.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series 
USB EHCI (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power 
Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller 
(rev 0e)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
Adapter (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 10)


It is hard to find which of devices from here 
https://h-node.org/bluetooth/catalogue/en 
  really exist in electronic 
web-shop I use, but I've found this one:
'Cambridge Silicon Radio Ltd Orico Bluetooth 4.0 Adapter 
(BTA-402-BK)CSR85108ware BD-400'
https://h-node.org/bluetooth/catalogue/en/1/1/Cambridge-Silicon-Radio-Ltd/undef/yes/USB/bluetooth-works/undef
 


In the web-shop there is exactly this 'Bluetooth adapter ORICO BTA-408-BK 
v.4.0'. 
408 instead of 402 as in h-node. 

Can I hope driver will work nice for 408? Is there anywhere this device driver 
readme to figure out which devices it supports?

Linux-Libre-4.20 has also Texas Instruments, Nokia, Mediatek, Qualcomm, 
Broadcom devices
$ find linux-4.20/Documentation -name '*bluet*'
./devicetree/bindings/net/broadcom-bluetooth.txt
./devicetree/bindings/net/qualcomm-bluetooth.txt
./devicetree/bindings/net/ti-bluetooth.txt
./devicetree/bindings/net/nokia-bluetooth.txt
./devicetree/bindings/net/mediatek-bluetooth.txt
./devicetree/bindings/net/bluetooth.txt

But these vendors are not presented in h-node. 

How to choose usb bluetooth adapter which will work exactly?


Re: Guix Packages - unpack issue

2019-01-06 Thread Ricardo Wurmus


Hi,

> I'm trying to create package of my application for GuixSD. during unpack 
> phase 
> I receive following Error. could anyone help me to fix this error? 

This would be easier if we could look at the tarball in question.

-- 
Ricardo




Guix Packages - unpack issue

2019-01-06 Thread Reza Alizadeh Majd
Hi, 

I'm trying to create package of my application for GuixSD. during unpack phase 
I receive following Error. could anyone help me to fix this error? 

...
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
...
./README.md
./exec_tests.sh
tar: .: Cannot utime: Operation not permitted
tar: .: Cannot change mode to rwxr-xr-t: Operation not permitted
tar: Exiting with failure status due to previous errors
Backtrace:
   5 (primitive-load "/gnu/store/n73lb40f47mqcyvg85df7v92277…")
In ice-9/eval.scm:
   191:35  4 (_ #f)
In srfi/srfi-1.scm:
   863:16  3 (every1 # …)
In 
/gnu/store/6bwkbm3a80v0xab5qsicij7bjvmn5yna-module-import/guix/build/gnu-build-system.scm:
   799:28  2 (_ _)
   166:12  1 (unpack #:source _)
In 
/gnu/store/6bwkbm3a80v0xab5qsicij7bjvmn5yna-module-import/guix/build/utils.scm:
616:6  0 (invoke _ . _)

/gnu/store/6bwkbm3a80v0xab5qsicij7bjvmn5yna-module-import/guix/build/utils.scm:616:6:
 In procedure invoke:
Throw to key `srfi-34' with args `(#)'.
builder for `/gnu/store/r8wls692iqlqqnv75k1g7w7a40wag0nw-guix-tools-0.1.1.drv' 
failed with exit code 1
build of /gnu/store/r8wls692iqlqqnv75k1g7w7a40wag0nw-guix-tools-0.1.1.drv failed
View build log at 
'/var/log/guix/drvs/r8/wls692iqlqqnv75k1g7w7a40wag0nw-guix-tools-0.1.1.drv.bz2'.
guix build: error: build failed: build of 
`/gnu/store/r8wls692iqlqqnv75k1g7w7a40wag0nw-guix-tools-0.1.1.drv' failed




Re: My first impression for GuixSD

2019-01-06 Thread 荒井吉則
Ok, thanks.

2019年1月6日(日) 18:00 Ricardo Wurmus :

>
> 荒井吉則  writes:
>
> > My knowladge of guixsd configuration is not enogh to make my own
> > configuration yet. but my expectation is that I could ajdust system
> > configuration according to ordinal way of postinstallation.
> >
> > For instance, locale setting at config.scm is to install additional fonts
> > according to locale or config of multiboot is that I could edit
> > /etc/grub.d/40_custom for postinstallation.
>
> This won’t work on a Guix system, because it does not generally consult
> files in /etc.  Most system configuration files are generated when
> running “guix system init” (or “guix system reconfigure”) using the
> information provided in the system configuration file.
>
> --
> Ricardo
>
>


Re: My first impression for GuixSD

2019-01-06 Thread Ricardo Wurmus


荒井吉則  writes:

> My knowladge of guixsd configuration is not enogh to make my own
> configuration yet. but my expectation is that I could ajdust system
> configuration according to ordinal way of postinstallation.
>
> For instance, locale setting at config.scm is to install additional fonts
> according to locale or config of multiboot is that I could edit
> /etc/grub.d/40_custom for postinstallation.

This won’t work on a Guix system, because it does not generally consult
files in /etc.  Most system configuration files are generated when
running “guix system init” (or “guix system reconfigure”) using the
information provided in the system configuration file.

-- 
Ricardo




Re: [ANN] Emacs-Guix 0.5.1

2019-01-06 Thread Ricardo Wurmus


Benjamin Slade  writes:

> Thanks all, doing `guix package -i guix` indeed solved this issue.

This is generally not recommend, because you’ll end up with an older
Guix than the one you installed it with.  To ensure that the correct
Guix is used, please make sure that ~/.config/guix/current/bin appears
first in PATH.

-- 
Ricardo