string-replace-substring is missing

2020-07-29 Thread mbcladwell



Hi,
Reading  
https://www.gnu.org/software/guile/manual/html_node/Miscellaneous-String-Operations.html
I learn that string-replace-substring is found in (ice-9 string-fun),  
but it is not:


(define-module (ice-9 string-fun)
  :export (split-after-char split-before-char split-discarding-char
   split-after-char-last split-before-char-last
   split-discarding-char-last split-before-predicate
   split-after-predicate split-discarding-predicate
   separate-fields-discarding-char separate-fields-after-char
   separate-fields-before-char string-prefix-predicate string-prefix=?
   sans-surrounding-whitespace sans-trailing-whitespace
   sans-leading-whitespace sans-final-newline has-trailing-newline?))
.

Where do I find string-replace-substring?
Thanks
Mortimer





Re: string-replace-substring is missing

2020-07-29 Thread Tobias Geerinckx-Rice

Hi Mortimer,

mbcladw...@stihie.net 写道:

Reading
https://www.gnu.org/software/guile/manual/html_node/Miscellaneous-String-Operations.html
I learn that string-replace-substring is found in (ice-9 
string-fun),


You probably want guile-users@ or bug-guile@.  This is help-guiX@, 
for the package manager and distribution[0].


Kind regards,

T G-R

[0]: http://guix.gnu.org/


signature.asc
Description: PGP signature


Re: Gitlab CI

2020-07-29 Thread Stephen Scheck
Ludovic Courtès writes:

> Hello! I’m late to the party but I’m interested in this discussion… :-)

> GitLab CI can run jobs directly in a Docker image:
>   https://docs.gitlab.com/ce/ci/docker/using_docker_images.html

> So it would be interesting to have any easy way for people to create a Docker 
> image for this purpose.

I’ve updated my Alpine-based Docker image, and I think it should work now for 
many common use cases,
but it would be great if it saw some more testing. Details here:

   https://hub.docker.com/r/singularsyntax/guix-bootstrap

Cheers -ss




re: Yubikey setup for GPG

2020-07-29 Thread Jesse Gibbons
I had a similar problem with my Librem key. I fixed it by including 
(service pcscd-service-type) in my system configuration, reconfiguring 
my guix system, and making sure I have one of the pinentry packages 
installed and configured.


See 
https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html#index-pcscd





Is anyone using `guix system container` in production?

2020-07-29 Thread conjaroy
I'm interested in deploying several system containers to a single cloud
VPS, and I had originally planned to build those via `guix system
docker-image`. Although Docker has some nice CLI tools for
starting/stopping/listing active containers, it occurs to me that an
alternative (`guix system container`) has at least one significant
advantage: containers come online in seconds, as opposed to the minutes it
takes to build and import a Docker image (or tens of minutes, if the build
host is a VM without /dev/kvm.) It might also be the case that using
/gnu/store for all containers is more disk-space-efficient than creating
self-contained Docker images for each one.

So I was wondering if anyone has experience running long-lived containers
built via `guix system container` in a production setting. Since I'm
running Guix on a foreign distro (Debian 10), it seems reasonable to build
a systemd service around the container script, but there may be pitfalls I
haven't considered:

# build container script and register it as a gc root with a well-known
name.
guix build --root=/home/guix/my-awesome-container $(guix system container
-d my-awesome-container.scm)

cat << EOF > /etc/systemd/system/my-awesome-container.service
[Unit]
Description=My Awesome Container

[Service]
ExecStart=/home/guix/my-awesome-container
TimeoutStopSec=30
StandardOutput=syslog
StandardError=syslog

[Install]
WantedBy=multi-user.target
EOF


Desktop graphics cards with working acceleration?

2020-07-29 Thread Matthew Brooks
Does anyone happen to know of any desktop graphics cards that have working 
acceleration for basic gaming (compatible with a PCI express x16 slot)? My 
laptop has an integrated intel card, so it can play basic stuff (Doom, etc.) 
just fine, but my desktop pretty much turns anything gaming related into a 
slideshow, despite it having far better specs, since my current card requires 
proprietary drivers for proper performance.

I did a bit of internet searching, but didn't find any results that looked 
relevant.