[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: tests: Adjust to the addition of a new Coreutils version.
From: |
Ludovic Courtès |
Subject: |
02/02: tests: Adjust to the addition of a new Coreutils version. |
Date: |
Fri, 21 Apr 2017 16:55:15 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 904c6c42eb8c3805edd293666eeb4b3837e2b7a6
Author: Ludovic Courtès <address@hidden>
Date: Fri Apr 21 22:53:59 2017 +0200
tests: Adjust to the addition of a new Coreutils version.
* tests/scripts-build.scm ("options->transformation, with-input"): Use
'specification->package' rather than refer to Coreutils by its
variable. This is a followup to e162050dfc0dee708a7ac5bfcf37d2afd6081604.
---
tests/scripts-build.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/scripts-build.scm b/tests/scripts-build.scm
index a1f684c..a408ea6 100644
--- a/tests/scripts-build.scm
+++ b/tests/scripts-build.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016 Ludovic Courtès <address@hidden>
+;;; Copyright © 2016, 2017 Ludovic Courtès <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,6 +23,7 @@
#:use-module (guix scripts build)
#:use-module (guix ui)
#:use-module (guix utils)
+ #:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages busybox)
#:use-module (ice-9 match)
@@ -97,8 +98,8 @@
(test-assert "options->transformation, with-input"
(let* ((p (dummy-package "guix.scm"
- (inputs `(("foo" ,coreutils)
- ("bar" ,grep)
+ (inputs `(("foo" ,(specification->package "coreutils"))
+ ("bar" ,(specification->package "grep"))
("baz" ,(dummy-package "chbouib"
(native-inputs `(("x" ,grep)))))))))
(t (options->transformation '((with-input . "coreutils=busybox")