All checks were successful
deploy-pages Deployed in 13 seconds
Flakes copy the whole gigantic repo to store all the time, quickly eating all the drive capacity. haskell.nix is PITA to use on lower-spec devices.
40 lines
597 B
Nix
40 lines
597 B
Nix
{ mkDerivation
|
|
, base
|
|
, containers
|
|
, directory
|
|
, extra
|
|
, filepath
|
|
, hakyll
|
|
, hakyll-contrib-tojnar
|
|
, pandoc
|
|
, process
|
|
, time
|
|
, lib
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "strom-roku2023-krk-litvinov-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;
|
|
}
|