# GNU Guix --- Functional package management for GNU # Copyright © 2013, 2015 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 `guix gc' command-line utility. # guix gc --version trap "rm -f guix-gc-root" EXIT rm -f guix-gc-root # For some operations, passing extra arguments is an error. for option in "" "-C 500M" "--verify" "--optimize" do if guix gc $option whatever; then false; else true; fi done # Check the references of a .drv. drv="`guix build guile-bootstrap -d`" out="`guix build guile-bootstrap`" test -f "$drv" && test -d "$out" guix gc --references "$drv" | grep -e -bash guix gc --references "$out" guix gc --references "$out/bin/guile" if guix gc --references /dev/null; then false; else true; fi # Add then reclaim a .drv file. drv="`guix build idutils -d`" test -f "$drv" guix gc --list-dead | grep "$drv" guix gc --delete "$drv" ! test -f "$drv" # Add a .drv, register it as a root. drv="`guix build --root=guix-gc-root lsh -d`" test -f "$drv" && test -L guix-gc-root guix gc --list-live | grep "$drv" if guix gc --delete "$drv"; then false; else true; fi rm guix-gc-root guix gc --list-dead | grep "$drv" guix gc --delete "$drv" ! test -f "$drv" # Try a random collection. guix gc -C 1KiB # Check trivial error cases. if guix gc --delete /dev/null; then false; else true; fi # Bug #19757 out="`guix build guile-bootstrap`" test -d "$out" guix gc --delete "$out" ! test -d "$out" out="`guix build guile-bootstrap`" test -d "$out" guix gc --delete "$out/" ! test -d "$out" out="`guix build guile-bootstrap`" test -d "$out" guix gc --delete "$out/bin/guile" es?id=5229d56db0a02f25946898a5fbde0d9d88ed4966'>packages/sync.scm
AgeCommit message (Expand)Author
2021-03-10gnu: Add nextcloud-client....* gnu/packages/messaging.scm (nextcloud-client): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Raghav Gururajan
2021-03-02gnu: usync: Patch shebang....* gnu/packages/sync.scm (usync)[propagated-inputs]: Move SCSH to... [inputs]: ... here. New field. [arguments]: Add #:phases. Ludovic Courtès
2021-03-02gnu: Add usync....* gnu/packages/sync.scm (usync): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Stefan Reichör
2021-02-28gnu: owncloud-client: Update to 2.7.6.3261....* gnu/packages/sync.scm (owncloud-client): Update to 2.7.6.3261. Léo Le Bouter
2021-02-07gnu: owncloud-client: Update to 2.7.5.3180....* gnu/packages/sync.scm (owncloud-client): Update to 2.7.5.3180. [native-inputs]: Add cmake-extra-modules. [arguments]: Fix `delete-failing-tests' phase. [source]: Remove no longer needed snippet. * gnu/packages/patches/owncloud-disable-updatecheck.patch: Update patch. Julien Lepiller
2020-08-17gnu: rclone: Update to 1.52.3....* gnu/packages/sync.scm (rclone): Update to 1.52.3. Nicolas Goaziou
2020-08-13gnu: megatools: Install bash completion....* gnu/packages/sync.scm (megatools)[arguments]: Add custom phase to install bash completion file. Efraim Flashner
2020-08-13gnu: megatools: Update to 1.10.3....* gnu/packages/sync.scm (megatools): Update to 1.10.3. Efraim Flashner