diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-02-22 19:02:16 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-22 22:11:37 +0100 |
commit | b0fef4d660ca86fdda5749356fbc29a456e7a326 (patch) | |
tree | 0073fe0d3d7f141ef699dce571c0d1fe97dd80d3 /guix/packages.scm | |
parent | 7adf9b8469f3f043e61d1c9614aea8abb63fb727 (diff) | |
download | gnu-guix-b0fef4d660ca86fdda5749356fbc29a456e7a326.tar gnu-guix-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 'guix/packages.scm')
-rw-r--r-- | guix/packages.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/packages.scm b/guix/packages.scm index 93bfbc4683..f6afaeb510 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -985,7 +985,7 @@ This is an internal procedure." (grafts (let ((guile (package-derivation store (default-guile) system #:graft? #f))) - (graft-derivation store (bag-name bag) drv grafts + (graft-derivation store drv grafts #:system system #:guile guile)))) drv)))) @@ -1003,7 +1003,7 @@ system identifying string)." (() drv) (grafts - (graft-derivation store (bag-name bag) drv grafts + (graft-derivation store drv grafts #:system system #:guile (package-derivation store (default-guile) |