Browse Source

lied about it building purely

master
Thorn Avery 5 years ago
parent
commit
dbc40668f5
3 changed files with 9 additions and 1 deletions
  1. +4
    -0
      README.md
  2. +4
    -1
      default.nix
  3. +1
    -0
      rf.cabal

+ 4
- 0
README.md 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


+ 4
- 1
default.nix 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;


+ 1
- 0
rf.cabal View File

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

Loading…
Cancel
Save