diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-04 14:22:39 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-11-04 14:22:39 +0100 |
commit | db0ee933e845c51699dabd65cf6c0a37c7215360 (patch) | |
tree | ea94095fbf26477f785f1986d8df8b2c4e7a7841 /custom/tinc/shell.nix | |
parent | ce793d1c224835fe5c99cfca7d03bf5aa3ecee4d (diff) | |
download | nixos-db0ee933e845c51699dabd65cf6c0a37c7215360.tar nixos-db0ee933e845c51699dabd65cf6c0a37c7215360.tar.gz nixos-db0ee933e845c51699dabd65cf6c0a37c7215360.tar.bz2 nixos-db0ee933e845c51699dabd65cf6c0a37c7215360.tar.xz nixos-db0ee933e845c51699dabd65cf6c0a37c7215360.zip |
environment for generate_hostfile.hs
Diffstat (limited to 'custom/tinc/shell.nix')
-rw-r--r-- | custom/tinc/shell.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/custom/tinc/shell.nix b/custom/tinc/shell.nix new file mode 100644 index 00000000..b514600f --- /dev/null +++ b/custom/tinc/shell.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | { pkgs ? (import <nixpkgs> {}) | ||
2 | }: | ||
3 | |||
4 | pkgs.stdenv.mkDerivation rec { | ||
5 | name = "tinc-env"; | ||
6 | buildInputs = [ (pkgs.haskellPackages.ghcWithPackages (p: | ||
7 | with p; [ directory-tree | ||
8 | ])) | ||
9 | ]; | ||
10 | shellHook = '' | ||
11 | export PROMPT_INFO="${name}" | ||
12 | ''; | ||
13 | } | ||