mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-14 17:05:02 +01:00
hot girl shit
This commit is contained in:
parent
ce88f65f92
commit
ce8c65aeaf
15 changed files with 263 additions and 184 deletions
23
default.nix
Normal file
23
default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ pkgs ? import <nixpkgs> { }, ... }:
|
||||
let
|
||||
generator = import ./builder { inherit pkgs; };
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "website";
|
||||
|
||||
src = ./.;
|
||||
unpackSrc = false;
|
||||
|
||||
WEBSITE_RNG_SEED = "99";
|
||||
|
||||
nativeBuildInputs = with pkgs; [ git hugo ];
|
||||
|
||||
buildPhase = ''
|
||||
${generator}/bin/website-builder build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r dist/* $out/
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue