summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-12-30 18:25:39 +0800
committerHilton Chain <hako@ultrarare.space>2024-12-31 10:56:35 +0800
commit42e32d52c3aed6e08b76e2ffe899f14a335e1fb6 (patch)
treefbbebc537188c732f48601c7993b3d38dfa41d7d /etc
parentf31b9df0f8e2ae2a719dcf3b8d9e2579eba7cf7c (diff)
teams: zig: Add manifest for Zig packages.
* etc/teams/zig/zig-manifest.scm: New file. Change-Id: I6c71cff64191e0be49f4bbb6debe40c21459d52c
Diffstat (limited to 'etc')
-rw-r--r--etc/teams/zig/zig-manifest.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/etc/teams/zig/zig-manifest.scm b/etc/teams/zig/zig-manifest.scm
new file mode 100644
index 0000000000..28b36dcec0
--- /dev/null
+++ b/etc/teams/zig/zig-manifest.scm
@@ -0,0 +1,34 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+;;; This file returns a manifest of packages built using the cargo-build-system.
+;;; It is used to assist continuous integration of the rust-team branch.
+
+(use-modules (guix packages)
+ (guix profiles)
+ (guix build-system))
+
+(manifest
+ (map package->manifest-entry
+ (fold-packages
+ (lambda (package lst)
+ (if (or (eq? 'zig (build-system-name (package-build-system package)))
+ (string=? "zig" (package-name package)))
+ (cons package lst)
+ lst))
+ '())))