;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 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 . (define-module (test-store-deduplication) #:use-module (guix tests) #:use-module (guix store) #:use-module (guix store roots) #:use-module ((guix utils) #:select (call-with-temporary-directory)) #:use-module (srfi srfi-1) #:use-module (srfi srfi-64)) (define %store (open-connection)) (test-begin "store-roots") (test-assert "gc-roots, regular root" (let* ((item (add-text-to-store %store "something" (random-text))) (root (string-append %gc-roots-directory "/test-gc-root"))) (symlink item root) (let ((result (member root (gc-roots)))) (delete-file root) result))) (test-assert "gc-roots, indirect root" (call-with-temporary-directory (lambda (directory) (let* ((item (add-text-to-store %store "something" (random-text))) (root (string-append directory "/gc-root"))) (symlink item root) (add-indirect-root %store root) (let ((result (member root (gc-roots)))) (delete-file root) result))))) (test-end "store-roots") option>
AgeCommit message (Expand)Author
2020-03-21gnu: Remove flex@2.6.1....* gnu/packages/flex.scm (flex-2.6.1): Remove variable. Marius Bakke
2019-07-09gnu: flex: Remove superfluous input....The configure script will warn that "make indent" is unavailable, but apart from that this input is not actually used for the build process. * gnu/packages/flex.scm (flex)[inputs]: Remove INDENT. * gnu/packages/commencement.scm (flex-boot0)[inputs]: Likewise. Marius Bakke
2019-06-29gnu: flex: Build bison-for-tests sequentially....This is a followup to b1593c1c4fd8f4fc6df4c43cab51334426e3aa76. * gnu/packages/flex.scm (flex)[inputs](bison-for-tests): Use 'substitute-keyword-arguments' instead of overriding them altogether. This ensures that #:parallel-build? and #:parallel-tests? are preserved. Ludovic Courtès
2018-08-25gnu: flex: Update bison-for-tests to 3.0.5....* gnu/packages/flex.scm (flex)[inputs]: Make BISON-FOR-TESTS inherit source from BISON, and disable tests on it since they require flex. Marius Bakke
2018-05-23gnu: Use "code" instead of "indent"....This is a follow-up to commit e470abf8b789e61ae918a80f141e3c06afd44832. * gnu/packages/commencement.scm, gnu/packages/flex.scm: Use module "code" instead of "indent". Ricardo Wurmus
2017-07-12gnu: grub: Fix build failure with recent flex....* gnu/packages/flex.scm (flex-2.6.1): New variable. * gnu/packages/bootloaders.scm (grub)[native-inputs]: Use flex-2.6.1. Leo Famulari
2017-05-28gnu: flex: Use the gzip-compressed tarball....This reverts commit 77e2538eda8a2721aef8336103c94fe31e12870c and fetches the gzip-compressed tarball. We do this so that flex-boot0 will not require lzip. * gnu/packages/flex.scm (flex)[source]: Fetch the '.tar.gz' tarball. [native-inputs]: Remove lzip. Leo Famulari
2017-05-27gnu: packages: flex: Add missing 'lzip' input....* gnu/packages/flex.scm (flex)[native-inputs]: Add lzip. Signed-off-by: Leo Famulari <leo@famulari.name> Sergei Trofimovich
2017-05-15gnu: flex-2.6.1: Remove variable....* gnu/packages/flex.scm (flex-2.6.1): Remove variable. * gnu/packages/bootloaders.scm (grub, dtc): Use flex instead of flex-2.6.1. * gnu/packages/embedded.scm (propeller-binutils, binutils-vc4): Likewise. * gnu/packages/maths.scm (scotch): Likewise. * gnu/packages/wine.scm (wine): Likewise. Leo Famulari
2017-05-15gnu: flex: Update to 2.6.4....* gnu/packages/flex.scm (flex): Update to 2.6.4. Leo Famulari