packages/landing: hydrate src in build
This commit is contained in:
parent
3949cb255c
commit
2777cb0f5b
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, pkgs, self', ... }:
|
{ builders, lib, pkgs, self', ... }:
|
||||||
let
|
let
|
||||||
configFile = pkgs.writeText "hugo-config.json" (builtins.toJSON {
|
configFile = pkgs.writeText "hugo-config.json" (builtins.toJSON {
|
||||||
title = "Private Void | Zero-maintenance perfection";
|
title = "Private Void | Zero-maintenance perfection";
|
||||||
|
@ -33,7 +33,7 @@ in
|
||||||
site = stdenvNoCC.mkDerivation rec {
|
site = stdenvNoCC.mkDerivation rec {
|
||||||
pname = "private-void-landing-page";
|
pname = "private-void-landing-page";
|
||||||
version = "0.0.0";
|
version = "0.0.0";
|
||||||
src = ./.;
|
src = builders.hydrateAssetDirectory ./.;
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
hugo
|
hugo
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue