Some checks failed
deploy-pages Failed to deploy
Flakes copy the whole gigantic repo to store all the time, quickly eating all the drive capacity.
44 lines
618 B
Nix
44 lines
618 B
Nix
{
|
|
mkDerivation,
|
|
base,
|
|
containers,
|
|
directory,
|
|
extra,
|
|
filepath,
|
|
hakyll,
|
|
hakyll-contrib-tojnar,
|
|
pandoc,
|
|
process,
|
|
time,
|
|
lib,
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "mala-zahradka-pro-radost-cz";
|
|
version = "0.0.1";
|
|
|
|
# Keep the contents of the src/ directory and top-level .cabal file.
|
|
src = lib.sourceByRegex ./. [
|
|
"^src(/.+|$)"
|
|
"[^/]+\.cabal$"
|
|
];
|
|
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
|
|
executableHaskellDepends = [
|
|
base
|
|
containers
|
|
directory
|
|
extra
|
|
filepath
|
|
hakyll
|
|
hakyll-contrib-tojnar
|
|
pandoc
|
|
process
|
|
time
|
|
];
|
|
|
|
license = lib.licenses.mit;
|
|
}
|