Skip to content

Commit 0faf0ad

Browse files
committed
Fix pluginDevSrc output not being a derivation
1 parent 6bd523c commit 0faf0ad

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

flake.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@
149149
packages = {
150150
inherit composerVendor staticDeploy;
151151
plugin = staticDeploy;
152-
pluginDevSrc = staticDeploySrc;
152+
pluginDevSrc = runCommand "static-deploy-dev-src" { } ''
153+
mkdir -p $out
154+
cp -r ${staticDeploySrc}/* $out/
155+
'';
153156
pluginGitHubSrc = staticDeployGitHubSrc;
154157
pluginWpOrg = staticDeployWpOrg;
155158
pluginWpOrgSrc = staticDeployWpOrgSrc;

0 commit comments

Comments
 (0)