about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-08-30 13:24:51 +0300
committerFrederick Muriuki Muriithi2023-08-30 13:24:51 +0300
commita3d3c30541a28a82b72067cff9174472e4a47929 (patch)
tree5271c8b462a875dd023d35fa87ed521c98458aea
parent6b4e800ad2b642d3dce80cdcf84a102aad64fcfd (diff)
downloadgn-auth-a3d3c30541a28a82b72067cff9174472e4a47929.tar.gz
Replace `(...) with (list ...): Fixes "undefined gexp" failure.
Replace the backquoted expression in the (arguments ...) section of
the package definition to fix the error where the build could not find
the variable gexp
-rw-r--r--.guix/modules/gn-auth.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/.guix/modules/gn-auth.scm b/.guix/modules/gn-auth.scm
index d9a2657..ec8e4a5 100644
--- a/.guix/modules/gn-auth.scm
+++ b/.guix/modules/gn-auth.scm
@@ -39,12 +39,13 @@
 		 #:select? vcs-file?))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       #~(modify-phases %standard-phases
-	   (replace 'check
-	     (lambda* (#:key tests? #:allow-other-keys)
-	       (when tests?
-		 (invoke "pytest" "-k" "unit_test")))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+	  (replace 'check
+	    (lambda* (#:key tests? #:allow-other-keys)
+	      (when tests?
+		(invoke "pytest" "-k" "unit_test")))))))
     (native-inputs
      (list python-mypy
 	   python-pytest