From 277297d9a804e09137493bd9e1613df94f154dc0 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 16 Aug 2023 06:57:30 +0300 Subject: Do not use current-filename. For some reason, current-filename does not work with Guix channels. This change was provided by Arun Isaac but I could not seem to figure out how to download the patches from protonmail therefore I give the credit here. --- .guix/modules/gn-auth.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.guix/modules') diff --git a/.guix/modules/gn-auth.scm b/.guix/modules/gn-auth.scm index 6bc63ed..8d52f17 100644 --- a/.guix/modules/gn-auth.scm +++ b/.guix/modules/gn-auth.scm @@ -21,7 +21,7 @@ ;; Packages from guix-bioinformatics #:use-module (gn packages python-web)) -(define %source-dir (dirname (dirname (dirname (dirname (dirname (current-filename))))))) +(define %source-dir (dirname (dirname (current-source-directory)))) (define vcs-file? (or (git-predicate %source-dir) @@ -31,7 +31,8 @@ (package (name "gn-auth") (version "0.1.0-git") - (source (local-file %source-dir "gn-auth-checkout" + (source (local-file "../.." + "gn-auth-checkout" #:recursive? #t #:select? vcs-file?)) (build-system python-build-system) -- cgit v1.2.3