summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonguix/utils.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/nonguix/utils.scm b/nonguix/utils.scm
index 33d922e..bbb25f0 100644
--- a/nonguix/utils.scm
+++ b/nonguix/utils.scm
@@ -133,10 +133,13 @@ matches PRED."
(_ obj)))
(define (package-with-alias alias pkg)
- "Return a copy of package PKG called ALIAS."
+ "Return a copy of package PKG with name ALIAS."
(package
(inherit pkg)
- (name alias)))
+ (name alias)
+ (properties
+ `((superseded . ,pkg)
+ (supress-supersession-info? . #t)))))
;; Using a package here to support ‘guix refresh’.
(define %binary-source