aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
-rw-r--r--guix.scm2
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 84e5fb9..62e8aeb 100644
--- a/README.md
+++ b/README.md
@@ -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
```
diff --git a/guix.scm b/guix.scm
index 7e75149..9bf23c8 100644
--- a/guix.scm
+++ b/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)