aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index d8acf76..90bc009 100644
--- a/default.nix
+++ b/default.nix
@@ -44,9 +44,11 @@ let
};
in rec {
site = drv "site" ''
+ export JEKYLL_ENV=production
jekyll build -d $out --trace
'';
test = drv "test" ''
+ export JEKYLL_ENV=production
./tests.sh
touch $out
'';
@@ -59,6 +61,8 @@ in rec {
echo 'Server with feature flags:'
echo ' jekyll serve --future --livereload --trace -c $(cfg podcast screencast)'
+ export JEKYLL_ENV=production
+
cfg() {
T="$(mktemp --suffix .yml)"
cp _config.yml "$T"