blob: c848783b1c36cef1745e5b5ac48cf5492666c0f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs, perSystem, ... }:
let
inherit (perSystem.self)
cv
;
in
pkgs.stdenvNoCC.mkDerivation {
name = "megasite";
src = ./.;
nativeBuildInputs = with pkgs; [
zola
];
buildPhase = "zola build";
installPhase = ''
mkdir -p $out/share
cp -r public/* $out/
cp ${cv} $out/share/cv.pdf
'';
}
|