blob: 204388fb72389221272903ec409b8cfb56ec6cfb (
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 = "4kb.net";
src = ./.;
nativeBuildInputs = with pkgs; [
zola
];
buildPhase = "zola build";
installPhase = ''
mkdir -p $out/share
cp -r public/* $out/
cp ${cv} $out/share/cv.pdf
'';
}
|