22 lines
421 B
Nix
22 lines
421 B
Nix
|
{ nixpkgs ? import <nixpkgs> {} }:
|
||
|
|
||
|
let
|
||
|
demobot = nixpkgs.callPackage ./default.nix {};
|
||
|
shell = nixpkgs.buildEnv {
|
||
|
name = "demobot-shell";
|
||
|
paths = [];
|
||
|
buildInputs = with nixpkgs.haskellPackages; [
|
||
|
ghcid
|
||
|
cabal-install
|
||
|
hasktags
|
||
|
(ghcWithPackages (_: demobot.buildInputs ++ demobot.propagatedBuildInputs))
|
||
|
nixpkgs.binutils-unwrapped
|
||
|
];
|
||
|
};
|
||
|
|
||
|
in
|
||
|
|
||
|
{
|
||
|
inherit demobot shell;
|
||
|
}
|