From c53bbcddc6387c99c05c771723dd06931ae5749a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 11 Dec 2015 14:47:57 +0100 Subject: Build environment for testing --- shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..50e5bba --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +{ pkgs ? (import {}) +}: + +pkgs.stdenv.mkDerivation rec { + name = "feeds-env"; + buildInputs = [ pkgs.mpv + (pkgs.haskellPackages.ghcWithPackages (p: + with p; [ conduit dependent-sum + ])) + ]; + shellHook = '' + export PROMPT_INFO="${name}" + ''; +} -- cgit v1.2.3