Abandon flakes in favour of npins
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.
This commit is contained in:
2024-07-13 12:40:22 +02:00
parent 885a1a4cea
commit 11203e2e3d
13 changed files with 178 additions and 1200 deletions

View File

@@ -1,9 +0,0 @@
packages: .
source-repository-package
type: git
location: https://gitlab.com/tojnar.cz/hroch
tag: master
package hakyll-contrib-tojnar
flags: -gd

View File

@@ -13,7 +13,7 @@ executable site
hakyll >= 4.9 && < 4.16,
hakyll-contrib-tojnar >= 0.2.1 && < 0.3.0,
filepath >= 1.4 && < 1.5,
pandoc >= 2.0 && < 2.18,
pandoc >= 2.0 && < 2.20,
process >= 1.6 && < 1.7,
time >= 1.9 && < 1.12,
ghc-options:

View File

@@ -0,0 +1,43 @@
{
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;
}