diff options
| author | Hilton Chain <hako@ultrarare.space> | 2026-03-23 01:00:09 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2026-04-03 12:57:36 +0800 |
| commit | a6be1d9b7736cbc86d421cfbdee14c5159b25b51 (patch) | |
| tree | 15de143bb13643cc041e5f9b0b4b5adc1126b820 /nonguix | |
| parent | dcbfd7ed508e258eac9c4490db646778f394bd5c (diff) | |
utils: Add %binary-source.
* nonguix/utils.scm (%binary-source): New variable.
Diffstat (limited to 'nonguix')
| -rw-r--r-- | nonguix/utils.scm | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/nonguix/utils.scm b/nonguix/utils.scm index 62a7baf..3c05c7d 100644 --- a/nonguix/utils.scm +++ b/nonguix/utils.scm @@ -11,9 +11,12 @@ #:use-module (guix utils) #:use-module (guix packages) #:use-module (gnu services) + #:use-module (gnu packages base) #:export (package-input-grafting package-with-alias - with-transformation)) + with-transformation + + %binary-source)) (define-public (to32 package64) "Build package for i686-linux. @@ -115,3 +118,16 @@ matches PRED." (package (inherit pkg) (name alias))) + +;; Using a package here to support ‘guix refresh’. +(define %binary-source + (hidden-package + (package + (inherit hello) + (name "binary-source") + (version "0.0.0") + (supported-systems '()) + (home-page "") + (synopsis "Binary package source (internal use)") + (description "") + (license #f)))) |
