fix building with nix
This commit is contained in:
parent
fdf65e138d
commit
52d6b452f7
3 changed files with 62 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
|||
{ stdenv, hugo }:
|
||||
{ stdenv, hugo, hugo-theme-anubis }:
|
||||
stdenv.mkDerivation rec {
|
||||
src = ./.;
|
||||
nativeBuildInputs = [ hugo ];
|
||||
# avoid git submodules using flakes :-)
|
||||
patchPhase = ''
|
||||
mkdir -p themes/
|
||||
ln -s ${hugo-theme-anubis} themes/anubis
|
||||
'';
|
||||
buildPhase = ''
|
||||
hugo
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue