diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-11 14:47:57 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-11 14:47:57 +0100 |
commit | c53bbcddc6387c99c05c771723dd06931ae5749a (patch) | |
tree | 980a3fbfacf029658ac806892554b362259644d4 /shell.nix | |
parent | 6adee25baae58b777a4f2e2c18a8351afb23d3a2 (diff) | |
download | feeds-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.nix | 14 |
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 | |||
4 | pkgs.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 | } | ||