diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:31:45 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:31:45 +0200 |
| commit | 8b559b37eafbf51fe4a602c091754a38b8ad28f7 (patch) | |
| tree | 690e8822e76b3f47e48cce66c47e6bede76797e6 /etc | |
| parent | ed27cf313acce22dcaef945d170be84d1dbf3040 (diff) | |
etc: Add rust-team manifest.
Change-Id: Ie43bd4a88d35270dcac7baaabeafbcc3a755db1e
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/teams/rust/rust-manifest.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/etc/teams/rust/rust-manifest.scm b/etc/teams/rust/rust-manifest.scm new file mode 100644 index 00000000000..f34b7489ec8 --- /dev/null +++ b/etc/teams/rust/rust-manifest.scm | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il> | ||
| 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 (eq? (build-system-name (package-build-system package)) | ||
| 31 | (quote cargo)) | ||
| 32 | (cons package lst) | ||
| 33 | lst)) | ||
| 34 | (list)))) | ||
