lied about it building purely

This commit is contained in:
Thorn Avery 2018-08-25 14:31:46 +12:00
parent fcb0453ee8
commit dbc40668f5
3 changed files with 9 additions and 1 deletions

View File

@ -14,6 +14,10 @@ Nix can be installed with:
curl https://nixos.org/nix/install | sh
```
### Dependencies
`imagemagick` is required for the favicons.
### Installing
Enter the build environment

View File

@ -1,4 +1,6 @@
{ mkDerivation, base, filepath, hakyll, hakyll-favicon, stdenv }:
{ mkDerivation, base, filepath, hakyll, hakyll-favicon, imagemagick
, stdenv
}:
mkDerivation {
pname = "rf";
version = "0.1.2.0";
@ -6,6 +8,7 @@ mkDerivation {
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base filepath hakyll hakyll-favicon ];
executableSystemDepends = [ imagemagick ];
homepage = "regularflolloping.com";
description = "tA's blog";
license = stdenv.lib.licenses.bsd3;

View File

@ -25,4 +25,5 @@ executable site
, filepath
, hakyll-favicon
-- hs-source-dirs:
extra-libraries: imagemagick
default-language: Haskell2010