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 curl https://nixos.org/nix/install | sh
``` ```
### Dependencies
`imagemagick` is required for the favicons.
### Installing ### Installing
Enter the build environment 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 { mkDerivation {
pname = "rf"; pname = "rf";
version = "0.1.2.0"; version = "0.1.2.0";
@ -6,6 +8,7 @@ mkDerivation {
isLibrary = false; isLibrary = false;
isExecutable = true; isExecutable = true;
executableHaskellDepends = [ base filepath hakyll hakyll-favicon ]; executableHaskellDepends = [ base filepath hakyll hakyll-favicon ];
executableSystemDepends = [ imagemagick ];
homepage = "regularflolloping.com"; homepage = "regularflolloping.com";
description = "tA's blog"; description = "tA's blog";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;

View File

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