aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix (renamed from shell.nix)11
1 files changed, 8 insertions, 3 deletions
diff --git a/shell.nix b/default.nix
index 84601f8..d2c031d 100644
--- a/shell.nix
+++ b/default.nix
@@ -4,9 +4,12 @@ let
pkgs = import <nixpkgs> { inherit system; };
mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { };
-in pkgs.stdenv.mkDerivation rec {
+in pkgs.stdenv.mkDerivation {
name = "Overview";
+ src = ./.;
+ LANG = "en_US.UTF-8";
+
buildInputs = [
pkgs.curl
pkgs.pandoc
@@ -15,7 +18,9 @@ in pkgs.stdenv.mkDerivation rec {
mypkgs.make-xslt
];
- shellHook = ''
- export NIX_SHELL_NAME="${name}"
+ installPhase = ''
+ make-xslt
+ mkdir $out
+ cp -Lr target/99_result/* $out
'';
}