From: Ben Sturmfels Date: Thu, 19 Sep 2019 07:28:48 +0000 (+1000) Subject: Note use of direnv with guix. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d20e307ab3865f8677b3dd3fa4535b573b3a1618;p=mediagoblin.git Note use of direnv with guix. --- diff --git a/guix-env.scm b/guix-env.scm index 868bdeea..acff8886 100644 --- a/guix-env.scm +++ b/guix-env.scm @@ -29,7 +29,13 @@ ;;; Then do: ;;; guix environment -l guix-env.scm --pure ;;; -;;; And the first time you use it: +;;; You'll need to run the above command every time you close your terminal or +;;; restart your system, so a handy way to save having to remember is to install +;;; "direnv" an then create a ".envrc" file in your current directory containing +;;; the following and then run "direnv allow" when prompted: +;;; use guix -l guix-env.scm --pure +;;; +;;; To set things up for the first time, you'll also need to run: ;;; git submodule init ;;; git submodule update ;;; ./bootstrap.sh @@ -187,8 +193,10 @@ media.") (inputs `(;;; audio/video stuff ("gstreamer" ,gstreamer) + ("gst-libav" ,gst-plugins-base) ("gst-plugins-base" ,gst-plugins-base) ("gst-plugins-good" ,gst-plugins-good) + ("gst-plugins-bad" ,gst-plugins-bad) ("gst-plugins-ugly" ,gst-plugins-ugly) ("gobject-introspection" ,gobject-introspection) ;; useful to have!