brokentech.cloud/default.nix

24 lines
335 B
Nix

{pkgs ? import <nixpkgs> {}}:
with pkgs;
stdenv.mkDerivation rec {
name = "brokentech.cloud-${version}";
version = "0.1";
src = ./.;
nativeBuildInputs = [
git
go
hugo
];
buildPhase = ''
hugo
'';
installPhase = ''
mkdir -p $out
cp -r ./public/* $out
'';
}