You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
390 B
30 lines
390 B
{ stdenv
|
|
, hugo
|
|
, rsync
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "irdest-website";
|
|
version = "0.0.0";
|
|
|
|
src = ../../docs/website;
|
|
|
|
buildInputs = [
|
|
hugo
|
|
rsync
|
|
];
|
|
|
|
HUGO_DISABLELANGUAGES = "ar";
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
hugo
|
|
runHook postBuild
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
rsync -a ./public/ $out/
|
|
runHook postInstall
|
|
'';
|
|
}
|
|
|