solidabis-koodihaaste/release.nix

20 lines
469 B
Nix
Raw Permalink Normal View History

2019-10-15 19:47:54 +03:00
let base = import <nixpkgs> {};
in
{ pkgs ? import (base.fetchgit { inherit (base.lib.importJSON ./nixpkgs.json) url rev sha256; }) {} }:
rec {
koodihaaste = pkgs.haskellPackages.callPackage ./default.nix {};
shell = pkgs.buildEnv {
name = "shell";
paths = [];
buildInputs = with pkgs.haskellPackages; [
ghcid
hlint
2019-10-15 19:53:38 +03:00
cabal-install
2019-10-15 19:47:54 +03:00
(ghcWithHoogle (h: koodihaaste.buildInputs ++ koodihaaste.propagatedBuildInputs))
];
};
}