This commit is contained in:
2021-11-26 16:52:39 +02:00
parent fb9eea52a6
commit c50529e44e
7 changed files with 117 additions and 30 deletions

View File

@ -1 +0,0 @@
use nix

View File

@ -1,4 +1,4 @@
{ mkDerivation, base, filepath, hakyll, stdenv, time }:
{ mkDerivation, base, filepath, hakyll, lib, time }:
mkDerivation {
pname = "site";
version = "0.1.0.0";
@ -6,5 +6,5 @@ mkDerivation {
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base filepath hakyll time ];
license = stdenv.lib.licenses.bsd3;
license = lib.licenses.bsd3;
}

View File

@ -1,16 +0,0 @@
with (import <nixpkgs> {});
let site = haskellPackages.callPackage ./. {};
in
mkShell {
buildInputs = [
ghcid
stylish-haskell
haskellPackages.cabal-install
hlint
(haskellPackages.ghcWithPackages (_: site.buildInputs ++ site.propagatedBuildInputs))
];
}