From 27adf2acf3c14e09d9c188e476951089180c374a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 6 Dec 2022 05:13:26 +0300 Subject: gn: (julia-visuals): Slurp expressions to fix package definition * gn/packages/julia.scm (julia-visuals): slurp in sexps to fix the package definition. --- gn/packages/julia.scm | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'gn/packages/julia.scm') diff --git a/gn/packages/julia.scm b/gn/packages/julia.scm index 3b5def1..03425b2 100644 --- a/gn/packages/julia.scm +++ b/gn/packages/julia.scm @@ -31,8 +31,8 @@ (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/sens/visuals") - (commit commit))) + (url "https://github.com/sens/visuals") + (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "15hshm5qrig5qbj02xy4ji79kfc72n93nna5nvxkhvb8gw3vvx07")))) @@ -53,23 +53,23 @@ (let ((out (assoc-ref outputs "out"))) ;; Copied from the Dockerfile. (for-each - (lambda (file) - (copy-recursively file (string-append out "/" file))) - (list "plutoserver" - "environment.yml" - "setup.py" - "runpluto.sh" - "notebooks" - "Project.toml" - "Manifest.toml"))))) + (lambda (file) + (copy-recursively file (string-append out "/" file))) + (list "plutoserver" + "environment.yml" + "setup.py" + "runpluto.sh" + "notebooks" + "Project.toml" + "Manifest.toml"))))) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) ;; Do we need to wrap this with PYTHONPATH too? (wrap-script (string-append out "/runpluto.sh") - `("PATH" ":" prefix (,(string-append (assoc-ref inputs "julia") "/bin") - ,(string-append (assoc-ref inputs "coreutils") "/bin"))) - `("JULIA_LOAD_PATH" ":" prefix (,(getenv "JULIA_LOAD_PATH"))))))) + `("PATH" ":" prefix (,(string-append (assoc-ref inputs "julia") "/bin") + ,(string-append (assoc-ref inputs "coreutils") "/bin"))) + `("JULIA_LOAD_PATH" ":" prefix (,(getenv "JULIA_LOAD_PATH"))))))) (replace 'precompile (lambda _ (invoke "julia" "-e" "\"import Pkg; Pkg.instantiate(); Pkg.status(); Pkg.precompile()\"")))))) @@ -78,7 +78,7 @@ ;; `( ;; from setup.py ;; ("python-jupyter-server-proxy" ;; ,(@ (gn packages python) python-jupyter-server-proxy-1))) - ) + (inputs `(("julia-distributions" ,julia-distributions) ("julia-latexstrings" ,julia-latexstrings) -- cgit v1.2.3