diff options
author | Arun Isaac | 2021-11-19 17:16:07 +0530 |
---|---|---|
committer | Arun Isaac | 2021-11-19 17:16:07 +0530 |
commit | abc0d36f39c691652fee81bce808d625fc368e72 (patch) | |
tree | 3248a372c0e4741390278584dfb5bb5459b6d8a2 | |
parent | 8488b57aa5b193b2addc034026af875f1145d61f (diff) | |
download | genenetwork3-abc0d36f39c691652fee81bce808d625fc368e72.tar.gz |
Replace guix environment with guix shell.
* README.md, guix.scm: Replace guix environment with guix shell.
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | guix.scm | 2 |
2 files changed, 6 insertions, 6 deletions
@@ -9,8 +9,8 @@ Install GNU Guix - this can be done on every running Linux system. There are at least three ways to start GeneNetwork3 with GNU Guix: -1. Create an environment with `guix environment` -2. Create a container with `guix environment -C` +1. Create an environment with `guix shell` +2. Create a container with `guix shell -C` 3. Use a profile and shell settings with `source ~/opt/genenetwork3/etc/profile` #### Create an environment: @@ -18,13 +18,13 @@ There are at least three ways to start GeneNetwork3 with GNU Guix: Simply load up the environment (for development purposes): ```bash -guix environment --load=guix.scm +guix shell -Df guix.scm ``` Also, make sure you have the [guix-bioinformatics](https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics) channel set up. ```bash -guix environment --expose=$HOME/genotype_files/ --load=guix.scm +guix shell --expose=$HOME/genotype_files/ -Df guix.scm python3 import redis ``` @@ -32,7 +32,7 @@ python3 #### Run a Guix container ``` -guix environment -C --network --expose=$HOME/genotype_files/ --load=guix.scm +guix shell -C --network --expose=$HOME/genotype_files/ -Df guix.scm ``` @@ -23,7 +23,7 @@ ;; ;; To get a development container (e.g., run in emacs shell). ;; -;; guix environment -C -l guix.scm +;; guix shell -C -Df guix.scm (use-modules (gn packages gemma) (gn packages python) |