mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-11-16 09:24:58 +00:00
Compare commits
No commits in common. "52554a333bb3db20471a3dc6673205111f28b17c" and "b8c33054032a49bf1d683be7113b86a8a147c4fd" have entirely different histories.
52554a333b
...
b8c3305403
@ -1,39 +0,0 @@
|
|||||||
;;; SPDX-FileCopyrightText: 2025 Hilton Chain <hako@ultrarare.space>
|
|
||||||
;;;
|
|
||||||
;;; SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
(define-module (rosenthal ci tarball)
|
|
||||||
#:use-module (guix derivations)
|
|
||||||
#:use-module (guix gexp)
|
|
||||||
#:use-module (guix monads)
|
|
||||||
#:use-module (guix packages)
|
|
||||||
#:use-module (guix profiles)
|
|
||||||
#:use-module (guix store)
|
|
||||||
#:use-module (guix scripts pack)
|
|
||||||
#:use-module (gnu ci)
|
|
||||||
#:use-module (gnu compression)
|
|
||||||
#:use-module (rosenthal packages package-management)
|
|
||||||
#:export (cuirass-jobs))
|
|
||||||
|
|
||||||
;; Adapted from (@@ (gnu ci) tarball-jobs).
|
|
||||||
(define (cuirass-jobs store arguments)
|
|
||||||
"Return jobs to build the self-contained Guix binary tarball."
|
|
||||||
(define (->job name drv)
|
|
||||||
(let ((name (string-append name "." system)))
|
|
||||||
(parameterize ((%graft? #f))
|
|
||||||
(derivation->job name drv))))
|
|
||||||
|
|
||||||
(map (lambda (system)
|
|
||||||
(->job "binary-tarball"
|
|
||||||
(run-with-store store
|
|
||||||
(mbegin %store-monad
|
|
||||||
(set-guile-for-build (default-guile))
|
|
||||||
(>>= (profile-derivation (packages->manifest (list guix/dolly)))
|
|
||||||
(lambda (profile)
|
|
||||||
(self-contained-tarball "guix-binary" profile
|
|
||||||
#:profile-name "current-guix"
|
|
||||||
#:localstatedir? #t
|
|
||||||
#:compressor
|
|
||||||
(lookup-compressor "xz")))))
|
|
||||||
#:system system)))
|
|
||||||
(arguments->systems arguments)))
|
|
||||||
@ -10,8 +10,8 @@
|
|||||||
#:use-module (gnu packages ci))
|
#:use-module (gnu packages ci))
|
||||||
|
|
||||||
(define-public cuirass/dolly
|
(define-public cuirass/dolly
|
||||||
(let ((commit "1de99f730b34853930fa5bc5127db4203bb12211")
|
(let ((commit "6ea7d8d94010a00548968fcc3dd493af383c4000")
|
||||||
(revision "2"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(inherit cuirass)
|
(inherit cuirass)
|
||||||
(name "cuirass-dolly")
|
(name "cuirass-dolly")
|
||||||
@ -24,4 +24,4 @@
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"10anvrd532m01lsdq6hnjn6b15bf19k4drb3igyfnp038r6dfp2z")))))))
|
"1clzkzclzqfivv7cpwh8r20j8j5nzfnzbf1rrnhcyc1gvlds7blb")))))))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user