summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-12-11 14:47:57 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-12-11 14:47:57 +0100
commitc53bbcddc6387c99c05c771723dd06931ae5749a (patch)
tree980a3fbfacf029658ac806892554b362259644d4 /shell.nix
parent6adee25baae58b777a4f2e2c18a8351afb23d3a2 (diff)
downloadfeeds-c53bbcddc6387c99c05c771723dd06931ae5749a.tar
feeds-c53bbcddc6387c99c05c771723dd06931ae5749a.tar.gz
feeds-c53bbcddc6387c99c05c771723dd06931ae5749a.tar.bz2
feeds-c53bbcddc6387c99c05c771723dd06931ae5749a.tar.xz
feeds-c53bbcddc6387c99c05c771723dd06931ae5749a.zip
Build environment for testing
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..50e5bba
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,14 @@
1{ pkgs ? (import <nixpkgs> {})
2}:
3
4pkgs.stdenv.mkDerivation rec {
5 name = "feeds-env";
6 buildInputs = [ pkgs.mpv
7 (pkgs.haskellPackages.ghcWithPackages (p:
8 with p; [ conduit dependent-sum
9 ]))
10 ];
11 shellHook = ''
12 export PROMPT_INFO="${name}"
13 '';
14}