# GNU Guix --- Functional package management for GNU # Copyright © 2012, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès # # This file is part of GNU Guix. # # GNU Guix is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or (at # your option) any later version. # # GNU Guix is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Guix. If not, see . # # Test the daemon and its interaction with 'guix substitute'. # set -e guix-daemon --version guix build --version drv="`guix build emacs -d`" out="`guile -c ' \ (use-modules (guix) (guix grafts) (gnu packages emacs)) \ (define store (open-connection))
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-03-07 15:58:26 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-03-07 23:21:22 +0100
commit9bb766e70d03164cb902122f3bbfbf46547f6cda (patch)
treee1bb6df90cdf114b43142c8c87164c80f4c5dcda /build-aux/gitlog-to-changelog
parent3391e2a0783ee098b7f521ef54a469f025805293 (diff)
downloadguix-9bb766e70d03164cb902122f3bbfbf46547f6cda.tar.gz
guix-9bb766e70d03164cb902122f3bbfbf46547f6cda.zip
gnu: pcre2: Update to 10.23.
* gnu/packages/pcre.scm (pcre2): Update to 10.23. [source]: Remove patch. [arguments]: Add phase to substitute /bin/echo reference. * gnu/packages/patches/pcre2-CVE-2016-3191.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it.
Diffstat (limited to 'build-aux/gitlog-to-changelog')
0 files changed, 0 insertions, 0 deletions
option in --max-silent-time=1 --timeout=1 do guix-daemon --listen="$socket" --disable-chroot "$option" & daemon_pid=$! GUIX_DAEMON_SOCKET="$socket" guile -c "$client_code" kill "$daemon_pid" done # Make sure garbage collection from a TCP connection does not work. tcp_socket="127.0.0.1:9999" guix-daemon --listen="$tcp_socket" & daemon_pid=$! GUIX_DAEMON_SOCKET="guix://$tcp_socket" export GUIX_DAEMON_SOCKET if guix gc; then false; else true; fi unset GUIX_DAEMON_SOCKET kill "$daemon_pid" # Log compression. guix-daemon --listen="$socket" --disable-chroot --debug --log-compression=gzip & daemon_pid=$! stamp="compressed-build-log-test-$$-`date +%H%M%S`" client_code=" (use-modules (guix) (gnu packages bootstrap)) (with-store store (run-with-store store (mlet %store-monad ((drv (lower-object (computed-file \"compressed-log-test\" #~(begin (display \"$stamp\") (newline) (mkdir #\$output)) #:guile %bootstrap-guile)))) (display (derivation-file-name drv)) (newline) (return #t)))) " GUIX_DAEMON_SOCKET="$socket" export GUIX_DAEMON_SOCKET drv=`guile -c "$client_code"` guix build "$drv" log=`guix build "$drv" --log-file` test -f "$log" case "$log" in *.gz) test "`gunzip -c < "$log"`" = "$stamp" ;; *) false ;; esac