all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 35030@debbugs.gnu.org
Subject: bug#35030: Error on update by root
Date: Fri, 29 Mar 2019 18:01:07 +0100 (CET)	[thread overview]
Message-ID: <Lb9OSEL--3-1@tutanota.com> (raw)
In-Reply-To: <87d0m98xlr.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 7267 bytes --]

Now touchpad and my config work, xserver is compiling, an other issue with touchpad configuration was solved in Help Guix maillist.

Here it is my config:

;;this is znavko's cute config

(use-modules (gnu) (gnu system nss)
             (gnu system locale) ;;for locale-definition
             (gnu services desktop)
             ;;(gnu services dns) ;;for dnsmasq
             (srfi srfi-1) ;;for remove function
             (gnu services networking) ;;for remove ntp
             (gnu services avahi) ;;for remove avahi
             (gnu services xorg)
             ;;(gnu services databases);;for postgres
             (gnu packages admin) ;;for wpa_supplicant
)
(use-service-modules desktop)
(use-package-modules certs gnome)

;;(define %redundant-linux-modules '("pcspkr" "snd_pcsp"))

(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")))
  (file-systems (cons (file-system
                        (device "/dev/sda1") (mount-point "/") (type "ext4"))
                      %base-file-systems))
  (swap-devices '("/dev/sda2"))

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

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

  (services (cons*  
                    ;;(service postgresql-service-type)
                    (service xfce-desktop-service-type)
                    (modify-services      
                      ;;(remove (lambda (service)
                      ;;  (eq? (service-kind service)
                      ;;    wpa-supplicant-service-type))
                      ;;  (remove (lambda (service)
                      ;;    (eq? (service-kind service)
                      ;;      static-networking-service-type))
                          (remove (lambda (service)
                            (eq? (service-kind service)
                              ntp-service-type))
                            (remove (lambda (service)
                              (eq? (service-kind service)
                                avahi-service-type))
                              (modify-services %desktop-services

                                (slim-service-type config =>
                                              (slim-configuration
                                               (xorg-configuration
                                                 (xorg-configuration
                                                  (extra-config
                                                  
'("Section \"InputClass\"
        Identifier \"touchpad\"
        Driver \"libinput\"
        MatchIsTouchpad \"on\"
        Option \"Tapping\" \"on\"
EndSection")
                                 )))))
  )  ;end of modify-services 2nd


                            )  ;end of remove avahi
                          )  ;end of remove2 ntp
                        ;;)  ;end of remove3 networking
                      ;)  ;end of remove4 wpa-supplicant
                      (elogind-service-type
                        c => (elogind-configuration (handle-lid-switch 'ignore)))
                    );;end of modify-services 1st desktop-services
  ));;end of services

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


 (kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp"))
 ;(kernel-arguments
 ;    (list (string-append "modprobe.blacklist="
 ;                         (apply comma-separated
 ;   %redundant-linux-modules))))

);;end of operating-system

 
I hope I'll be able to configure networking with wpa_supplicant + dhclient only, without newtworkmanager (that I hate) as I asked before
https://lists.gnu.org/archive/html/help-guix/2018-11/msg00208.html <https://lists.gnu.org/archive/html/help-guix/2018-11/msg00208.html>

Now I cannot determine what to type to remove networkmanager and let autostart wpa_supplicant  dhclient with my cute wpa_supplicant.config?

Mar 29, 2019, 4:16 PM by ludo@gnu.org:

> Ricardo Wurmus <> rekado@elephly.net <mailto:rekado@elephly.net>> > skribis:
>
>> znavko@tutanota.com <mailto:znavko@tutanota.com>>>  writes:
>>
>>> `guix pull` fail on building xserver derivation. log is attatched.
>>>
>>
>> Backtrace:
>>  3 (primitive-load "/gnu/store/fdp2jmpz6pwdlmdg1izih8cly75?")
>> In ice-9/ports.scm:
>>  462:17  2 (call-with-output-file _ _ #:binary _ #:encoding _)
>> In srfi/srfi-1.scm:
>>  637:5  1 (for-each #<procedure 61d180 at ice-9/eval.scm:333:13 ?> ?)
>> In unknown file:
>>  0 (scm-error wrong-type-arg "for-each" "Wrong type argum?" ?)
>>
>> ERROR: In procedure scm-error:
>> In procedure for-each: Wrong type argument: "Section \"InputClass\"\n        Identifier \"touchpad\"\n        Driver \"libinput\"\n        MatchIsTouchpad \"on\"\n        Option \"Tapping\" \"on\"\nEndSection"
>>
>> This is an error in your operating system configuration.  You provided a
>> string, but the error shows that a list is expected.
>>
>
> znavko, could you share your OS config?
>
> Thanks,
> Ludo’.
>


[-- Attachment #2: Type: text/html, Size: 14674 bytes --]

  reply	other threads:[~2019-03-29 17:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28 14:58 bug#35030: Error on update by root znavko
2019-03-28 16:11 ` Ricardo Wurmus
2019-03-29 16:16   ` Ludovic Courtès
2019-03-29 17:01     ` znavko [this message]
2019-03-31  9:57       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Lb9OSEL--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=35030@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.