From b2a271128c62d1a378ec350081f9224d049beaf6 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 23 Jan 2021 17:49:12 -0700 Subject: goodbye github pages, also make header look nicer on mobile --- default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 95bfc26..19de15d 100644 --- a/default.nix +++ b/default.nix @@ -12,18 +12,17 @@ in { build = derivation { - system = system; + inherit jekyll_env system; name = "mediocre-blog"; builder = "${pkgs.bash}/bin/bash"; args = [ ./build.sh ]; src = ./src; stdenv = pkgs.stdenv; - inherit jekyll_env; }; - serve = pkgs.stdenv.mkDerivation rec { - name = "jekyll_env"; + serve = pkgs.stdenv.mkDerivation { + name = "mediocre-blog-shell"; # glibcLocales is required so to fill in LC_ALL and other locale # related environment vars. Without those jekyll's scss compiler @@ -36,6 +35,8 @@ exec ${jekyll_env}/bin/jekyll serve -s ./src -d ./_site -w -I -D -H 0.0.0.0 ''; }; + + env = jekyll_env; } -- cgit v1.2.3