From 2777cb0f5b224be872de13b1cb70775c2c3fbae0 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 5 Aug 2022 22:45:50 +0200 Subject: [PATCH] packages/landing: hydrate src in build --- packages/websites/landing/project.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/websites/landing/project.nix b/packages/websites/landing/project.nix index 613fc5c..687e447 100644 --- a/packages/websites/landing/project.nix +++ b/packages/websites/landing/project.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, self', ... }: +{ builders, lib, pkgs, self', ... }: let configFile = pkgs.writeText "hugo-config.json" (builtins.toJSON { title = "Private Void | Zero-maintenance perfection"; @@ -33,7 +33,7 @@ in site = stdenvNoCC.mkDerivation rec { pname = "private-void-landing-page"; version = "0.0.0"; - src = ./.; + src = builders.hydrateAssetDirectory ./.; nativeBuildInputs = [ hugo ];