# GNU Guix --- Functional package management for GNU # Copyright © 2012, 2014, 2015, 2016, 2017, 2018, 2019 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 s
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:53:39 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:19 +0200
commit2ad98c74e9e60458e3823dd565bbf16a2d898657 (patch)
treee1d30475e4cad4be0ff9b7a62782052a1b21c34d /gnu/packages/tor.scm
parent0f319e1bff7a77031e049997ee860811547d237f (diff)
downloadguix-2ad98c74e9e60458e3823dd565bbf16a2d898657.tar.gz
guix-2ad98c74e9e60458e3823dd565bbf16a2d898657.zip
gnu: Add rust-tuikit-0.5.
* gnu/packages/crates-io.scm (rust-tuikit-0.5): New variable. (rust-tuikit-0.4): Inherit from rust-tuikit-0.5. Change-Id: Id35d3c18f84f9b30af212a7c59188d637c6b7566
Diffstat (limited to 'gnu/packages/tor.scm')
0 files changed, 0 insertions, 0 deletions
tocol-error-message c)) "failed")))) (build-derivations store (list drv)) #f))))' for 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