mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
Track the source location of packages.
* guix/packages.scm (<location>): New record type.
(location, source-properties->location): New procedures.
(<package>)[location]: New field.
* tests/packages.scm ("GNU Hello"): Test `package-location'.
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
|
||||
(test-assert "GNU Hello"
|
||||
(and (package? hello)
|
||||
(or (location? (package-location hello))
|
||||
(not (package-location hello)))
|
||||
(let* ((drv (package-derivation %store hello))
|
||||
(out (derivation-path->output-path drv)))
|
||||
(and (build-derivations %store (list drv))
|
||||
|
||||
Reference in New Issue
Block a user