Note use of direnv with guix.
authorBen Sturmfels <ben@sturm.com.au>
Thu, 19 Sep 2019 07:28:48 +0000 (17:28 +1000)
committerBen Sturmfels <ben@sturm.com.au>
Thu, 19 Sep 2019 07:28:48 +0000 (17:28 +1000)
guix-env.scm

index 868bdeea156ffb6fc33f297f36c33af1939df1c0..acff8886f3765c538371fc5c231d3a0e45cad05e 100644 (file)
 ;;; 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!