summaryrefslogtreecommitdiff
path: root/shell.nix
blob: a4274e72e522f9dbbd1863ae3934a8be3c1715b3 (plain)
1
2
3
4
5
6
7
8
9
{ pkgs ? (import <nixpkgs> {})
}:

pkgs.lib.overrideDerivation (pkgs.haskellPackages.callPackage ./default.nix {}) (oldArgs: {
  buildInputs = with pkgs; [ cabal2nix gup ];
  shellHook = ''
    export PROMPT_INFO=${oldArgs.name}
  '';
})