From 443f196032530cbd9eb39606c2daf4294460a44b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 26 Jan 2017 15:02:04 +0100 Subject: Project skeleton --- shell.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..a4274e7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? (import {}) +}: + +pkgs.lib.overrideDerivation (pkgs.haskellPackages.callPackage ./default.nix {}) (oldArgs: { + buildInputs = with pkgs; [ cabal2nix gup ]; + shellHook = '' + export PROMPT_INFO=${oldArgs.name} + ''; +}) -- cgit v1.2.3