Update gitile
channels.scm unknown status 2
| 1 | - | ;;; SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site> | |
| 2 | - | ;;; | |
| 3 | - | ;;; SPDX-License-Identifier: GPL-3.0-or-later | |
| 4 | - | ||
| 5 | - | (list (channel | |
| 6 | - | (name 'guix) | |
| 7 | - | (url "https://codeberg.org/guix/guix") | |
| 8 | - | (introduction | |
| 9 | - | (make-channel-introduction | |
| 10 | - | "9edb3f66fd807b096b48283debdcddccfea34bad" | |
| 11 | - | (openpgp-fingerprint | |
| 12 | - | "BBB02DDF2CEAF6A80D1DE643A2A06DF2A33A54FA")))) | |
| 13 | - | (channel | |
| 14 | - | (name 'cogd) | |
| 15 | - | (url "https://repo.pisemsky.site/git/cogd") | |
| 16 | - | (introduction | |
| 17 | - | (make-channel-introduction | |
| 18 | - | "fcdf9f9ce0d8d0ebd035fa55ec7c1ddd6890e728" | |
| 19 | - | (openpgp-fingerprint | |
| 20 | - | "15FF37F790C1BADB35B3752BE3D3B72AB5733021"))))) |
modules/cogd/packages/version-control.scm
| 11 | 11 | (gitile gitile-guix))) | |
| 12 | 12 | (begin | |
| 13 | 13 | (define gitile | |
| 14 | - | (package | |
| 15 | - | (inherit gitile-guix) | |
| 16 | - | (version "0.1.5") | |
| 17 | - | (source | |
| 18 | - | (origin | |
| 19 | - | (method git-fetch) | |
| 20 | - | (uri (git-reference | |
| 21 | - | (url "https://repo.pisemsky.site/git/gitile") | |
| 22 | - | (commit version))) | |
| 23 | - | (file-name (git-file-name (package-name gitile-guix) version)) | |
| 24 | - | (sha256 | |
| 25 | - | (base32 "0skjkjvs9bk8pd2g63j29cpdnpaljs2n6j2c3ljx33k3vk01xd2z")))))))) | |
| 14 | + | (let ((commit "66da601634a76f47d24cda9fc36eda30035fa7d9") | |
| 15 | + | (revision "2")) | |
| 16 | + | (package | |
| 17 | + | (inherit gitile-guix) | |
| 18 | + | (version (git-version "0.1.5" revision commit)) | |
| 19 | + | (source | |
| 20 | + | (origin | |
| 21 | + | (method git-fetch) | |
| 22 | + | (uri (git-reference | |
| 23 | + | (url "https://repo.pisemsky.site/git/gitile") | |
| 24 | + | (commit commit))) | |
| 25 | + | (file-name (git-file-name (package-name gitile-guix) version)) | |
| 26 | + | (sha256 | |
| 27 | + | (base32 "0q8q8my19cj98m6xhi37hrfdr47liqgcniv0cndf1yzla8s8n05c"))))))))) |
modules/cogd/services/dns.scm
| 4 | 4 | ||
| 5 | 5 | (define-module (cogd services dns)) | |
| 6 | 6 | ||
| 7 | - | (use-modules (gnu services) | |
| 8 | - | (gnu services dns) | |
| 9 | - | (gnu services shepherd)) | |
| 7 | + | (use-modules (gnu services dns)) | |
| 10 | 8 | ||
| 11 | - | (export unbound-service-type/fixed) | |
| 12 | - | ||
| 13 | - | (define unbound-shepherd-service | |
| 14 | - | (@@ (gnu services dns) unbound-shepherd-service)) | |
| 15 | - | ||
| 16 | - | (define (unbound-shepherd-service/fixed config) | |
| 17 | - | (let ((unfixed (unbound-shepherd-service config))) | |
| 18 | - | (list (shepherd-service | |
| 19 | - | (inherit (car unfixed)) | |
| 20 | - | (provision '(unbound)))))) | |
| 21 | - | ||
| 22 | - | (define unbound-service-type/fixed | |
| 23 | - | (service-type | |
| 24 | - | (inherit unbound-service-type) | |
| 25 | - | (extensions (map (lambda (ext) | |
| 26 | - | (if (eq? (service-extension-target ext) | |
| 27 | - | shepherd-root-service-type) | |
| 28 | - | (service-extension shepherd-root-service-type | |
| 29 | - | unbound-shepherd-service/fixed) | |
| 30 | - | ext)) | |
| 31 | - | (service-type-extensions unbound-service-type))))) | |
| 9 | + | (define-public unbound-service-type/fixed | |
| 10 | + | unbound-service-type) |
modules/cogd/services/version-control.scm
| 4 | 4 | ||
| 5 | 5 | (define-module (cogd services version-control)) | |
| 6 | 6 | ||
| 7 | - | (use-modules (guix gexp) | |
| 8 | - | (gnu services version-control) | |
| 9 | - | (gnu services web)) | |
| 7 | + | (use-modules (gnu services version-control)) | |
| 10 | 8 | ||
| 11 | - | (export git-http-nginx-location-configuration/fixed) | |
| 12 | - | ||
| 13 | - | (define (git-http-backend-gitconfig git-root) | |
| 14 | - | (plain-file "gitconfig" | |
| 15 | - | (string-append "[safe]\n\tdirectory = " git-root "/*\n"))) | |
| 16 | - | ||
| 17 | - | (define git-http-configuration-git-root | |
| 18 | - | (@@ (gnu services version-control) git-http-configuration-git-root)) | |
| 19 | - | ||
| 20 | - | (define git-http-nginx-location-configuration/fixed | |
| 21 | - | (lambda* (#:optional (config (git-http-configuration))) | |
| 22 | - | (let* ((git-root (git-http-configuration-git-root config)) | |
| 23 | - | (gitconfig (git-http-backend-gitconfig git-root)) | |
| 24 | - | (unfixed (git-http-nginx-location-configuration config))) | |
| 25 | - | (nginx-location-configuration | |
| 26 | - | (uri (nginx-location-configuration-uri unfixed)) | |
| 27 | - | (body (cons* (list "fastcgi_param GIT_CONFIG_GLOBAL " gitconfig ";") | |
| 28 | - | (nginx-location-configuration-body unfixed))))))) | |
| 9 | + | (define-public git-http-nginx-location-configuration/fixed | |
| 10 | + | git-http-nginx-location-configuration) |