summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <aethoago@141.li>2017-01-19 10:31:42 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2017-01-19 10:31:42 +0100
commit9f0092dae1f1301e48de6c1a4379a3adecd1f9e2 (patch)
tree40a38d34c471f88934db9fb899c7646e282b512a
parent8a36a25da0c84e2576f08ba0d0c2408da2ad2c2d (diff)
downloadlullaby-master.tar
lullaby-master.tar.gz
lullaby-master.tar.bz2
lullaby-master.tar.xz
lullaby-master.zip
Add shell hook to identify shell environmentHEADmaster
-rw-r--r--shell.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..0c20c9f
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,8 @@
1{ pkgs ? (import <nixpkgs> {})
2}:
3
4pkgs.lib.overrideDerivation (pkgs.haskellPackages.callPackage ./default.nix {}) (oldArgs: {
5 shellHook = ''
6 export PROMPT_INFO=${oldArgs.name}
7 '';
8})