Boilerplate operations
This commit is contained in:
parent
9ff22271d4
commit
406e163afa
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
_site
|
||||||
|
_cache
|
3
default.nix
Normal file
3
default.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{ haskellPackages }:
|
||||||
|
|
||||||
|
haskellPackages.callCabal2nix "site" ./. {}
|
21
release.nix
Normal file
21
release.nix
Normal 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,4 +1,4 @@
|
|||||||
name: hakylltest
|
name: site
|
||||||
version: 0.1.0.0
|
version: 0.1.0.0
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
cabal-version: >= 1.10
|
cabal-version: >= 1.10
|
Loading…
Reference in New Issue
Block a user