Shell support

This commit is contained in:
Mats Rauhala 2019-01-01 15:30:23 +02:00
parent 2a197dca27
commit 823e46900b

View File

@ -1,5 +1,15 @@
{ nixpkgs ? import ./nixpkgs.nix {} }: { nixpkgs ? import ./nixpkgs.nix {} }:
{ rec {
imageduplicates = nixpkgs.haskellPackages.callPackage ./default.nix {}; imageduplicates = nixpkgs.haskellPackages.callPackage ./default.nix {};
shell = nixpkgs.buildEnv {
name = "shell";
paths = [];
buildInputs = with nixpkgs.haskellPackages; [
ghcid
hasktags
cabal-install
(ghcWithPackages (_: imageduplicates.buildInputs ++ imageduplicates.propagatedBuildInputs))
];
};
} }