diff options
author | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2024-01-20 22:23:47 -0500 |
---|---|---|
committer | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2024-01-20 22:23:47 -0500 |
commit | ea411537de33d51ec3b610437e946e42e740115a (patch) | |
tree | fbb0a4a38ebee9dac86906034f38e2f80af5058a /crn/packages.scm | |
parent | 5d1ab52ca380906da9056d7a4784f7d7b1826fca (diff) |
security: add public key to keyringkeyring
Diffstat (limited to 'crn/packages.scm')
-rw-r--r-- | crn/packages.scm | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/crn/packages.scm b/crn/packages.scm deleted file mode 100644 index 716fca2..0000000 --- a/crn/packages.scm +++ /dev/null @@ -1,49 +0,0 @@ -;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2020 Andrew Whatson <whatson@gmail.com> -;;; -;;; This file is NOT part of GNU Guix. -;;; -;;; This program 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. -;;; -;;; This program 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 this program. If not, see <http://www.gnu.org/licenses/>. - -(define-module (crn packages) - #:use-module ((gnu packages) #:prefix gnu:) - #:use-module (guix diagnostics) - #:use-module (guix i18n) - #:use-module ((srfi srfi-1) #:prefix srfi:) - #:export (crn/search-patch - crn/search-patches - %patch-path)) - -(define %channel-root - (srfi:find (lambda (path) - (file-exists? (string-append path "/crn/packages.scm"))) - %load-path)) - -(define %patch-path - (make-parameter - (cons - (string-append %channel-root "/crn/packages/patches") - (gnu:%patch-path)))) - -(define (crn/search-patch file-name) - "Search the patch FILE-NAME. Raise an error if not found." - ;;(search-path (%patch-path) file-name)) - (or (search-path (%patch-path) file-name) - (raise (formatted-message (G_ "~a: patch not found") - file-name)))) - -(define-syntax-rule (crn/search-patches file-name ...) - "Return the list of absolute file names corresponding to each -FILE-NAME found in %PATCH-PATH." - (list (search-path (%patch-path) file-name) ...)) |