diff options
author | Adrian Kummerlaender | 2018-10-01 11:22:17 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-10-01 11:22:17 +0200 |
commit | e23ddd349bec3de1b08272b6cae2307fbb8b944f (patch) | |
tree | 145c6450e170c2d67e3efe98c0adab7893a97a81 | |
parent | 0867270079ac32fc15e4819aa08ac2b632d62567 (diff) | |
download | Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.tar Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.tar.gz Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.tar.bz2 Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.tar.lz Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.tar.xz Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.tar.zst Overview-e23ddd349bec3de1b08272b6cae2307fbb8b944f.zip |
Add Nix derivation
-rw-r--r-- | default.nix (renamed from shell.nix) | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 ''; } |