aboutsummaryrefslogtreecommitdiff
path: root/.guix/modules/gn-auth.scm
diff options
context:
space:
mode:
Diffstat (limited to '.guix/modules/gn-auth.scm')
-rw-r--r--.guix/modules/gn-auth.scm5
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)