diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/default.nix b/default.nix index f5966e8..0d7fee0 100644 --- a/default.nix +++ b/default.nix @@ -21,19 +21,17 @@ let ghc -O2 -dynamic --make Main.hs -o $out/bin/build-site ''; }; -in rec { - euandrehWebsite = stdenv.mkDerivation rec { - name = "euandreh-website"; - src = ./site; - phases = "unpackPhase buildPhase"; - buildInputs = [ websiteBuilder ]; - buildPhase = '' - export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"; - export LANG=en_US.UTF-8 - build-site build +in stdenv.mkDerivation rec { + name = "euandreh-website"; + src = ./site; + phases = "unpackPhase buildPhase"; + buildInputs = [ websiteBuilder ]; + buildPhase = '' + export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"; + export LANG=en_US.UTF-8 + build-site build - mkdir $out - cp -r _site/* $out - ''; - }; + mkdir $out + cp -r _site/* $out + ''; } |