Ok, so I have a .nix file for my project that looks like this:
{ mkDerivation, base, blaze-html, clay, hakyll, hspec, stdenv }:
mkDerivation {
pname = "open-editions";
version = "0.1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base blaze-html clay hakyll ];
testHaskellDepends = [ hspec ];
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}
(It's just a web project using hakyll.) The problem is, clay
is broken in nixpkgs. But I'm assuming clay
works on its master branch on GitHub. So how can I replace this haskell dependency clay
with something that downloads and calls the GitHub package? The GitHub package has a bunch of .nix files there, so I'm guess it'd be relatively straightforward, but I don't really know where to start on this.