blob: 5ac990609e34113d6827d6c6154667c6c9199496 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{
hugo,
lib,
stdenv,
self ? null
}:
stdenv.mkDerivation {
pname = "tdback-net";
version = if self ? rev then self.rev else "dirty";
src = lib.cleanSource ./.;
nativeBuildInputs = [ hugo ];
buildPhase = ''
hugo build --minify
'';
installPhase = ''
mv public $out
'';
}
|