Disable ormolu for hakyll DSL-y code; only bring in a stylesheet if we have one
This commit is contained in:
parent
9244c2e20f
commit
8cec937b86
9 changed files with 70 additions and 56 deletions
|
@ -1,7 +1,6 @@
|
|||
{ compiler ? "ghc884"
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (pkgs.lib.trivial) flip pipe;
|
||||
inherit (pkgs.haskell.lib) appendPatch appendConfigureFlags dontCheck;
|
||||
|
@ -18,13 +17,15 @@ let
|
|||
(flip appendConfigureFlags hakyllFlags)
|
||||
];
|
||||
|
||||
my-site = hpNew.callCabal2nix "my-site" ./. {};
|
||||
hakyll-nix-template = hpNew.callCabal2nix "hakyll-nix-template" ./. { };
|
||||
|
||||
# because hakyll is marked as broken in nixpkgs
|
||||
hslua = dontCheck (hpNew.callHackage "hslua" "1.0.3.2" {});
|
||||
jira-wiki-markup = dontCheck (hpNew.callHackage "jira-wiki-markup" "1.1.4" {});
|
||||
pandoc = dontCheck (hpNew.callHackage "pandoc" "2.9.2.1" {});
|
||||
pandoc-types = dontCheck (hpNew.callHackage "pandoc-types" "1.20" {});
|
||||
# when hakyll is marked as broken in nixpkgs
|
||||
# because of version issues, fix them here:
|
||||
|
||||
hslua = dontCheck (hpNew.callHackage "hslua" "1.0.3.2" { });
|
||||
jira-wiki-markup = dontCheck (hpNew.callHackage "jira-wiki-markup" "1.1.4" { });
|
||||
pandoc = dontCheck (hpNew.callHackage "pandoc" "2.9.2.1" { });
|
||||
pandoc-types = dontCheck (hpNew.callHackage "pandoc-types" "1.20" { });
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue