summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-02-22 19:02:16 +0100
committerLudovic Courtès <ludo@gnu.org>2016-02-22 22:11:37 +0100
commitb0fef4d660ca86fdda5749356fbc29a456e7a326 (patch)
tree0073fe0d3d7f141ef699dce571c0d1fe97dd80d3 /tests
parent7adf9b8469f3f043e61d1c9614aea8abb63fb727 (diff)
downloadguix-b0fef4d660ca86fdda5749356fbc29a456e7a326.tar.gz
grafts: 'name' parameter of 'graft-derivation' is now optional.
* guix/grafts.scm (graft-derivation): Name 'name' a keyword parameter.
* guix/packages.scm (package-derivation, package-cross-derivation):
Adjust accordingly.
* tests/grafts.scm ("graft-derivation"): Likewise.
* tests/packages.scm ("package-derivation, indirect grafts"): Likewise.
Diffstat (limited to 'tests')
-rw-r--r--tests/grafts.scm2
-rw-r--r--tests/packages.scm2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/grafts.scm b/tests/grafts.scm
index c11403be19..4a4122a3e9 100644
--- a/tests/grafts.scm
+++ b/tests/grafts.scm
@@ -59,7 +59,7 @@
                                               '(call-with-output-file %output
                                                  (lambda (port)
                                                    (display "fake mkdir" port)))))
-         (graft (graft-derivation %store "graft" orig
+         (graft (graft-derivation %store orig
                                   (list (graft
                                           (origin %bash)
                                           (replacement one))
diff --git a/tests/packages.scm b/tests/packages.scm
index 68ab3f897b..6315c2204f 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -616,7 +616,7 @@
          (guile (package-derivation %store (canonical-package guile-2.0)
                                     #:graft? #f)))
     (equal? (package-derivation %store dummy)
-            (graft-derivation %store "dummy-0"
+            (graft-derivation %store
                               (package-derivation %store dummy #:graft? #f)
                               (package-grafts %store dummy)