Boilerplate operations

This commit is contained in:
2018-09-20 21:14:24 +03:00
parent 9ff22271d4
commit 406e163afa
4 changed files with 27 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
_site
_cache
+3
View File
@@ -0,0 +1,3 @@
{ haskellPackages }:
haskellPackages.callCabal2nix "site" ./. {}
+21
View File
@@ -0,0 +1,21 @@
{ pkgs ? import <nixpkgs> {} }:
let
haskellPackages = pkgs.haskellPackages;
site = pkgs.callPackage ./default.nix {};
shell = pkgs.buildEnv {
name = "site-shell";
paths = [];
buildInputs = [
haskellPackages.ghcid
haskellPackages.hasktags
(haskellPackages.ghcWithHoogle (h: site.buildInputs ++ site.propagatedBuildInputs))
];
};
in
{
site = site;
shell = shell;
}
+1 -1
View File
@@ -1,4 +1,4 @@
name: hakylltest
name: site
version: 0.1.0.0
build-type: Simple
cabal-version: >= 1.10