.
This commit is contained in:
parent
c9179e5bfb
commit
fa02698d95
2 changed files with 25 additions and 0 deletions
12
hub.nix
Normal file
12
hub.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ fetchurl, hugo, ... }:
|
||||
|
||||
hugo.overrideAttrs (old: {
|
||||
buildPhase = ''
|
||||
hugo --minify
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r public/* $out/
|
||||
'';
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue