aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-03-18 19:00:12 +0100
committerLudovic Courtès <ludo@gnu.org>2015-03-18 19:07:36 +0100
commitcf87cc894d6913e5c58a381890f920d7e1edf178 (patch)
treee2d0db51490f3df8e95df5cfde0ac36b7b1128a7 /tests
parent381c540b937a5e6e8b7007c9c0271ee816bf5417 (diff)
downloadguix-cf87cc894d6913e5c58a381890f920d7e1edf178.tar
guix-cf87cc894d6913e5c58a381890f920d7e1edf178.tar.gz
packages: Rewrite 'patch-and-repack' using gexps.
* guix/packages.scm (patch-and-repack): Remove 'store' parameter and change default value of #:inputs to (%standard-patch-inputs). [lookup-input, instantiate-patch]: New procedures. [patch-inputs]: Remove. [builder]: Rename to... [build]: ... this. Use gexps instead of sexps. (patch-and-repack*): Remove. (origin->derivation): Use 'patch-and-repack' instead of 'patch-and-repack*'. * tests/packages.scm ("package-source-derivation, snippet")[source](snippet): Remove references to '%build-inputs' and '%outputs'.
Diffstat (limited to 'tests')
-rw-r--r--tests/packages.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index c9dd5d859a..a181b1b08a 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -205,10 +205,7 @@
(chmod "." #o777)
(symlink "guile" "guile-rocks")
(copy-recursively "../share/guile/2.0/scripts"
- "scripts")
-
- ;; These variables must exist.
- (pk %build-inputs %outputs))))))
+ "scripts"))))))
(package (package (inherit (dummy-package "with-snippet"))
(source source)
(build-system trivial-build-system)