From a3d281ea34a6e3c66789455c1c1edf223030a589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 24 Jan 2019 09:56:31 +0100 Subject: Purify wallabag's website --- virtual/modules/websites/commons/composer-env.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'virtual/modules/websites/commons/composer-env.nix') diff --git a/virtual/modules/websites/commons/composer-env.nix b/virtual/modules/websites/commons/composer-env.nix index 051ac6e..416a61c 100644 --- a/virtual/modules/websites/commons/composer-env.nix +++ b/virtual/modules/websites/commons/composer-env.nix @@ -63,6 +63,7 @@ let , noDev ? false , unpackPhase ? "true" , buildPhase ? "true" + , doRemoveVendor ? true , ...}@args: let @@ -197,9 +198,10 @@ let export HOME=$TMPDIR + ${if doRemoveVendor then '' # Remove the provided vendor folder if it exists rm -Rf vendor - + '' else ""} # If there is no composer.lock file, compose a dummy file. # Otherwise, composer attempts to download the package.json file from # the registry which we do not want. -- cgit v1.2.3