summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-01-04 09:37:25 +0100
committerLars-Dominik Braun <lars@6xq.net>2023-02-26 10:19:36 +0100
commit84549dcf380b1ed7712816a1ff1bfe9688c1d9a7 (patch)
tree285bdf7b1780f356544d0e96cb4537e79cc1ccf3 /guix/import
parenteb42d18180dbd80ac5545422fbdd8e49889423a1 (diff)
import: hackage: Add upstream-name property.
* guix/import/hackage.scm (hackage-module->sexp): Add property upstream-name to imported package. * tests/hackage.scm (match-ghc-foo): Add upstream-name property. (match-ghc-foo-6): Ditto. (match-ghc-elif): Ditto. (match-ghc-foo-revision): Ditto. (match-ghc-foo-import): Ditto.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/hackage.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/import/hackage.scm b/guix/import/hackage.scm
index e915aac58d..9e305cf080 100644
--- a/guix/import/hackage.scm
+++ b/guix/import/hackage.scm
@@ -314,6 +314,7 @@ the hash of the Cabal file."
(bytevector->nix-base32-string (file-sha256 tarball))
"failed to download tar archive")))))
(build-system haskell-build-system)
+ (properties '((upstream-name . ,name)))
,@(maybe-inputs 'inputs dependencies)
,@(maybe-inputs 'native-inputs native-dependencies)
,@(maybe-arguments)