Initial commit
This commit is contained in:
commit
720fa4a18b
17 changed files with 882 additions and 0 deletions
19
default.nix
Normal file
19
default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
with import <nixpkgs> {};
|
||||
stdenv.mkDerivation {
|
||||
name = "dadada.li";
|
||||
builtInputs = [ pkgs.hugo ];
|
||||
src = ./.;
|
||||
buildPhase = "${pkgs.hugo}/bin/hugo";
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r public/* $out
|
||||
'';
|
||||
dontFixup = true;
|
||||
dontStrip = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "dadada.li web-site";
|
||||
license = licenses.cc-by-sa-40;
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue