diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2019-09-09 16:24:45 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2019-09-09 16:24:45 +1000 |
commit | 2764934602195f38c78095ac3013aa561aa31fbd (patch) | |
tree | f5938cfc8b65983857a40c22f88ab81fbf1394e5 /guix-env.scm | |
parent | f0a09ae0477e895b026cd54c4c634c925543b180 (diff) | |
download | mediagoblin-2764934602195f38c78095ac3013aa561aa31fbd.tar.lz mediagoblin-2764934602195f38c78095ac3013aa561aa31fbd.tar.xz mediagoblin-2764934602195f38c78095ac3013aa561aa31fbd.zip |
Provide an update_extlib.sh alternative for Guix.
Diffstat (limited to 'guix-env.scm')
-rw-r--r-- | guix-env.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/guix-env.scm b/guix-env.scm index a25c5dfe..18c75e56 100644 --- a/guix-env.scm +++ b/guix-env.scm @@ -35,7 +35,7 @@ ;;; ./bootstrap.sh ;;; ./configure --with-python3 --without-virtualenv ;;; make -;;; virtualenv . && ./bin/python setup.py develop --no-deps +;;; python3 -m venv . && bin/python setup.py develop --no-deps ;;; ;;; ... wait whaaat, what's that last line! I thought you said this ;;; was a reasonable virtualenv replacement! Well it is and it will @@ -44,7 +44,9 @@ ;;; for certain things to run, so we have a virtualenv with nothing ;;; in it but this project itself. ;;; -;;; Then run: +;;; The devtools/update_extlib.sh script won't run on Guix due to missing +;;; "/usr/bin/env", so then run: +;; node node_modules/.bin/bower install ;;; bin/gmg dbupdate ;;; bin/gmg adduser --username admin --password a --email admin@example.com ;;; ./lazyserver.sh @@ -69,6 +71,7 @@ (gnu packages) (gnu packages autotools) (gnu packages base) + (gnu packages certs) (gnu packages check) (gnu packages databases) (gnu packages python) @@ -131,7 +134,8 @@ ;; Complains about missing gunicorn. Not sure where that comes from. '(#:tests? #f)) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-pytest" ,python-pytest) + ("nss-certs" ,nss-certs))) (propagated-inputs `(("python-alembic" ,python-alembic) ("python-pytest-xdist" ,python-pytest-xdist) |