diff options
author | Frederick Muriuki Muriithi | 2023-08-16 06:57:30 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-08-16 06:57:30 +0300 |
commit | 277297d9a804e09137493bd9e1613df94f154dc0 (patch) | |
tree | 4bf6d2e9c0599d00cdc31420911641d32d17e29f | |
parent | d3e3963e2fae7035128ed9a10513907e20f8bdf4 (diff) | |
download | gn-auth-277297d9a804e09137493bd9e1613df94f154dc0.tar.gz |
Do not use current-filename.
For some reason, current-filename does not work with Guix channels.
This change was provided by Arun Isaac<arunisaac@systemreboot.net> but
I could not seem to figure out how to download the patches from
protonmail therefore I give the credit here.
-rw-r--r-- | .guix/modules/gn-auth.scm | 5 |
1 files changed, 3 insertions, 2 deletions
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) |