Re: very few substitutes available?
Hi Thomas, > Is it still ok to have "https://berlin.guixsd.org; in the list of > substitute-urls of my guix daemon service? ci.guix.info is the same server as berlin.guixsd.org at the moment. It uses the same key. If you haven’t authorized that key you won’t get substitutes from there, no matter which of the two URLs you use. -- Ricardo
Re: xclock package
On Fri, Jan 11, 2019 at 05:20:44PM -0500, Leo Famulari wrote: > On Sat, Jan 12, 2019 at 06:25:54AM +0900, Yoshinori Arai wrote: > > There is no xclock package in guix. I made it. > > How can I add it to duix package, maybe in xdisorg.scm. > > The basic steps for adding a Guix package are this: > > Install Guix: > > https://www.gnu.org/software/guix/manual/en/html_node/Installation.html > > Clone our Git repo: > > https://git.savannah.gnu.org/cgit/guix.git > > Add your package to the relevant file. I think xdisorg.scm is fine. > > Follow the Contributing section of our manual, especially the steps > Building from Git, Running Guix Before It Is Installed, and Submitting > Patches: > > https://www.gnu.org/software/guix/manual/en/html_node/Contributing.html > > Building from Git and Running Guix Before It Is Installed will help you > test your package. > > Let us know if you need any help or if it is too much work! Somebody > will pick up the package for you and add it to Guix. OK, I will try according to Contributing manual.
Re: Removing prop-inputs
Perfect! My appreciation! Sent from my Sprint Phone. -- Original message--From: Timothy SampleDate: Fri, Jan 11, 2019 8:50 PMTo: bre...@posteo.net;Cc: help-guix;Help-Guix;Subject:Re: Removing prop-inputs Hi brettg, bre...@posteo.net writes: > On 12.01.2019 02:25, bre...@posteo.net wrote: >> Hi all, this is my system configuration file. I am trying to remove >> nautilus and epiphany from the gnome-desktop-service that gets loaded. >> So far I am not having any luck. Any ideas? >> >> [...] > > Update, I got it to work, but with some very hackish code. Any > suggestions would still be appreciated. > > (define-public gnome-custom > (package (inherit gnome) > (name "gnome-custom") > (propagated-inputs (remove > (match-lambda > ((name _) > (string=? name "epiphany"))) > (remove >(match-lambda > ((name _) > (string=? name "eog"))) >(remove > (match-lambda > ((name _) >(string=? name "totem"))) > (remove > (match-lambda >((name _) > (string=? name "gedit"))) > (remove > (match-lambda > ((name _) > (string=? name "yelp"))) > (remove >(match-lambda > ((name _) > (string=? name "gnome-calculator"))) >(package-propagated-inputs gnome)) You could try (remove (match-lambda ((name _) (member name '("epiphany" "eog" ... (package-propagated-inputs gnome)) Hope that helps! -- Tim
Re: Removing prop-inputs
Hi brettg, bre...@posteo.net writes: > On 12.01.2019 02:25, bre...@posteo.net wrote: >> Hi all, this is my system configuration file. I am trying to remove >> nautilus and epiphany from the gnome-desktop-service that gets loaded. >> So far I am not having any luck. Any ideas? >> >> [...] > > Update, I got it to work, but with some very hackish code. Any > suggestions would still be appreciated. > > (define-public gnome-custom > (package (inherit gnome) > (name "gnome-custom") > (propagated-inputs (remove > (match-lambda > ((name _) > (string=? name "epiphany"))) > (remove >(match-lambda > ((name _) > (string=? name "eog"))) >(remove > (match-lambda > ((name _) >(string=? name "totem"))) > (remove > (match-lambda >((name _) > (string=? name "gedit"))) > (remove > (match-lambda > ((name _) > (string=? name "yelp"))) > (remove >(match-lambda > ((name _) > (string=? name "gnome-calculator"))) >(package-propagated-inputs gnome)) You could try (remove (match-lambda ((name _) (member name '("epiphany" "eog" ... (package-propagated-inputs gnome)) Hope that helps! -- Tim
Re: Removing prop-inputs
On 12.01.2019 02:25, bre...@posteo.net wrote: Hi all, this is my system configuration file. I am trying to remove nautilus and epiphany from the gnome-desktop-service that gets loaded. So far I am not having any luck. Any ideas? (use-modules (gnu) (gnu system nss) (srfi srfi-1) (guix packages) (ice-9 match)) (use-service-modules desktop xorg) (use-package-modules certs gnome) (define-public gnome-custom (package (inherit gnome) (name "gnome-custom") (propagated-inputs (remove (match-lambda ;; Ignore the second value. ((name _) (string=? name "nautilus") (string=? name "epiphany"))) (package-propagated-inputs gnome) (operating-system (host-name "guixsd") (timezone "America/Chicago") (locale "en_US.utf8") ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "brettg") (comment "Brett Gilio") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/brettg")) %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* (service gnome-desktop-service-type (gnome-desktop-configuration (inherit config) (gnome-package gnome-custom))) %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) Update, I got it to work, but with some very hackish code. Any suggestions would still be appreciated. (define-public gnome-custom (package (inherit gnome) (name "gnome-custom") (propagated-inputs (remove (match-lambda ((name _) (string=? name "epiphany"))) (remove (match-lambda ((name _) (string=? name "eog"))) (remove (match-lambda ((name _) (string=? name "totem"))) (remove (match-lambda ((name _) (string=? name "gedit"))) (remove (match-lambda ((name _) (string=? name "yelp"))) (remove (match-lambda ((name _) (string=? name "gnome-calculator"))) (package-propagated-inputs gnome))
Removing prop-inputs
Hi all, this is my system configuration file. I am trying to remove nautilus and epiphany from the gnome-desktop-service that gets loaded. So far I am not having any luck. Any ideas? (use-modules (gnu) (gnu system nss) (srfi srfi-1) (guix packages) (ice-9 match)) (use-service-modules desktop xorg) (use-package-modules certs gnome) (define-public gnome-custom (package (inherit gnome) (name "gnome-custom") (propagated-inputs (remove (match-lambda ;; Ignore the second value. ((name _) (string=? name "nautilus") (string=? name "epiphany"))) (package-propagated-inputs gnome) (operating-system (host-name "guixsd") (timezone "America/Chicago") (locale "en_US.utf8") ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi"))) (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "brettg") (comment "Brett Gilio") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/brettg")) %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* (service gnome-desktop-service-type (gnome-desktop-configuration (inherit config) (gnome-package gnome-custom))) %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss))
Re: xclock package
On Sat, Jan 12, 2019 at 06:25:54AM +0900, Yoshinori Arai wrote: > There is no xclock package in guix. I made it. > How can I add it to duix package, maybe in xdisorg.scm. The basic steps for adding a Guix package are this: Install Guix: https://www.gnu.org/software/guix/manual/en/html_node/Installation.html Clone our Git repo: https://git.savannah.gnu.org/cgit/guix.git Add your package to the relevant file. I think xdisorg.scm is fine. Follow the Contributing section of our manual, especially the steps Building from Git, Running Guix Before It Is Installed, and Submitting Patches: https://www.gnu.org/software/guix/manual/en/html_node/Contributing.html Building from Git and Running Guix Before It Is Installed will help you test your package. Let us know if you need any help or if it is too much work! Somebody will pick up the package for you and add it to Guix. signature.asc Description: PGP signature
Re: very few substitutes available?
On Fri, Jan 11, 2019 at 10:26:02PM +0100, Thomas Danckaert wrote: > From: Ricardo Wurmus > Subject: Re: very few substitutes available? > Date: Sun, 06 Jan 2019 17:39:26 +0100 > > > Double check that the key for ci.guix.info is in fact authorized. > > You can look at /etc/guix/acl and/or run “guix archive --authorize < > > ~/.config/guix/current/share/guix/ci.guix.info.pub”. > > How can I see if my /etc/guix/acl is ok? I see a sexp with what looks > like a list containing a single (public-key (rsa (n [...]) (e > [...]))). Is it normal to have just a single public-key in that list > (I had expected 2 or 3, or hydra, berlin, and ci.guix.info)? 's key is RSA, but and use ECC (Ed25519) keys. If you keep authorizing keys, they will be appended to the acl file. signature.asc Description: PGP signature
xclock package
There is no xclock package in guix. I made it. How can I add it to duix package, maybe in xdisorg.scm. (use-modules (guix packages) (guix download) (gnu packages pkg-config) (gnu packages xorg) (guix build-system gnu) ((guix licenses) #:prefix license:)) (package (name "xclock") (version "1.0.7") (source (origin (method url-fetch) (uri (string-append "https://www.x.org/releases/individual/app/; name "-" version ".tar.bz2")) (sha256 (base32 "1l3xv4bsca6bwxx73jyjz0blav86i7vwffkhdb1ac81y9slyrki3" (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "--with-appdefaultdir=" %output ,%app-defaults-dir (inputs `(("libxmu" ,libxmu) ("libx11" ,libx11) ("libxaw" ,libxaw) ("libxrender" ,libxrender) ("libxft" ,libxft) ("libxkbfile" ,libxkbfile))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "https://www.x.org/;) (synopsis "analog / digital clock for X") (description "The xclock program displays the time in analog or digital form. The time is continuously updated at a frequency which may be specified by the user.") (license license:x11))
Re: very few substitutes available?
From: Ricardo Wurmus Subject: Re: very few substitutes available? Date: Sun, 06 Jan 2019 17:39:26 +0100 > Double check that the key for ci.guix.info is in fact authorized. > You can look at /etc/guix/acl and/or run “guix archive --authorize < > ~/.config/guix/current/share/guix/ci.guix.info.pub”. How can I see if my /etc/guix/acl is ok? I see a sexp with what looks like a list containing a single (public-key (rsa (n [...]) (e [...]))). Is it normal to have just a single public-key in that list (I had expected 2 or 3, or hydra, berlin, and ci.guix.info)? Is it still ok to have "https://berlin.guixsd.org; in the list of substitute-urls of my guix daemon service? Thomas
Re: pam module question
Hi Saeed, > I have developed a test pam module and I want to change login configuration > to use it during opening and closing sessions but I do not have any Idea > how to change login configuration in /etc/pam.d/login (its a symlink to > store) can you please help me, (gnu system pam) defines “unix-pam-service”, which returns a PAM service for a given name. The module also contains the definition of “base-pam-services”, which uses “unix-pam-service” and returns a list of PAM services. This is how the PAM configuration is changed on Guix systems. You would not modify /etc/pam.d directly, as it is generated on system reconfiguration and checked out from /gnu/store. -- Ricardo
Re: pam module question
Thank you! On Fri, Jan 11, 2019, 13:41 Ricardo Wurmus > Hi Saeed, > > > I have developed a test pam module and I want to change login > configuration > > to use it during opening and closing sessions but I do not have any Idea > > how to change login configuration in /etc/pam.d/login (its a symlink to > > store) can you please help me, > > (gnu system pam) defines “unix-pam-service”, which returns a PAM service > for a given name. The module also contains the definition of > “base-pam-services”, which uses “unix-pam-service” and returns a list of > PAM services. > > This is how the PAM configuration is changed on Guix systems. You would > not modify /etc/pam.d directly, as it is generated on system > reconfiguration and checked out from /gnu/store. > > -- > Ricardo > >
Re: Where is gtk-update-icon-cache ... ?
On Fri, Jan 11, 2019 at 06:00:05AM +0100, Ricardo Wurmus wrote: > Hi, > > 荒井吉則 writes: > > > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also > > found /gnu/store/...-glibc-2.28/bin/locale. > > > > Why not these command make symlink to ~/.guix-profile/bin ? > > There will be a lot of files in /gnu/store that are not linked to any > profile. That’s on purpose. > > If you want to install gtk-update-icon-cache you need to install the > “gtk+:bin” package to a profile, e.g. by doing > > guix package -i gtk+:bin > OK, I will do it. However I think it is kind to ask will you install bin when someone install like gtk+ or glibc with guix package -i . > > And I did gtk-update-icon-cache -t -f --include-image-data > > ~/.guix-profile/share/icons/hicolor. > > It return permission error that is directory read only. > > This is also by design. ~/.guix-profile is read-only because it lives > in /gnu/store (via a series of symlinks). Nothing in /gnu/store can be > changed; you can only add to it by using the “guix” commands. > > The is usually no need to run gtk-update-icon-cache manually as it is > run in a profile hook when building a new generation of a profile. > Thank you for your explanation in detail. I appriciate when I use guix package -i epiphany, guix would recommend additional packages hicolor-icon-theme and adwaita-icon-theme not installed. And when install fonts, fc-cache is needed. 2019年1月11日(金) 14:00 Ricardo Wurmus : > Hi, > > 荒井吉則 writes: > > > I found /gnu/store/...-gtk+-3.24.0-bin/bin/gtk-update-icon-cache. Also > > found /gnu/store/...-glibc-2.28/bin/locale. > > > > Why not these command make symlink to ~/.guix-profile/bin ? > > There will be a lot of files in /gnu/store that are not linked to any > profile. That’s on purpose. > > If you want to install gtk-update-icon-cache you need to install the > “gtk+:bin” package to a profile, e.g. by doing > > guix package -i gtk+:bin > > > And I did gtk-update-icon-cache -t -f --include-image-data > > ~/.guix-profile/share/icons/hicolor. > > It return permission error that is directory read only. > > This is also by design. ~/.guix-profile is read-only because it lives > in /gnu/store (via a series of symlinks). Nothing in /gnu/store can be > changed; you can only add to it by using the “guix” commands. > > The is usually no need to run gtk-update-icon-cache manually as it is > run in a profile hook when building a new generation of a profile. > > -- > Ricardo > >
pam module question
Hello and thank you for you great work, I have developed a test pam module and I want to change login configuration to use it during opening and closing sessions but I do not have any Idea how to change login configuration in /etc/pam.d/login (its a symlink to store) can you please help me, Thank you.