diff options
| author | Hilton Chain <hako@ultrarare.space> | 2024-12-30 18:25:39 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2024-12-31 10:56:35 +0800 |
| commit | 42e32d52c3aed6e08b76e2ffe899f14a335e1fb6 (patch) | |
| tree | fbbebc537188c732f48601c7993b3d38dfa41d7d /etc | |
| parent | f31b9df0f8e2ae2a719dcf3b8d9e2579eba7cf7c (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.scm | 34 |
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 00000000000..28b36dcec06 --- /dev/null +++ b/etc/teams/zig/zig-manifest.scm | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space> | ||
| 3 | ;;; | ||
| 4 | ;;; This file is part of GNU Guix. | ||
| 5 | ;;; | ||
| 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | ||
| 7 | ;;; under the terms of the GNU General Public License as published by | ||
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | ||
| 9 | ;;; your option) any later version. | ||
| 10 | ;;; | ||
| 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | ||
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | ;;; GNU General Public License for more details. | ||
| 15 | ;;; | ||
| 16 | ;;; You should have received a copy of the GNU General Public License | ||
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | ;;; This file returns a manifest of packages built using the cargo-build-system. | ||
| 20 | ;;; It is used to assist continuous integration of the rust-team branch. | ||
| 21 | |||
| 22 | (use-modules (guix packages) | ||
| 23 | (guix profiles) | ||
| 24 | (guix build-system)) | ||
| 25 | |||
| 26 | (manifest | ||
| 27 | (map package->manifest-entry | ||
| 28 | (fold-packages | ||
| 29 | (lambda (package lst) | ||
| 30 | (if (or (eq? 'zig (build-system-name (package-build-system package))) | ||
| 31 | (string=? "zig" (package-name package))) | ||
| 32 | (cons package lst) | ||
| 33 | lst)) | ||
| 34 | '()))) | ||
