summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-30 16:30:26 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-30 16:30:26 +0200
commitecfb534f4d291e84310dadb9e591de564b00e593 (patch)
tree979f4f431d49fe04cdadcd669dbf6b75c8407471 /custom
parentdb6c7d8681adf6fcf237841bb44838bcd88388d7 (diff)
downloadnixos-ecfb534f4d291e84310dadb9e591de564b00e593.tar
nixos-ecfb534f4d291e84310dadb9e591de564b00e593.tar.gz
nixos-ecfb534f4d291e84310dadb9e591de564b00e593.tar.bz2
nixos-ecfb534f4d291e84310dadb9e591de564b00e593.tar.xz
nixos-ecfb534f4d291e84310dadb9e591de564b00e593.zip
cleanup
Diffstat (limited to 'custom')
-rw-r--r--custom/prosody-modules.nix20
1 files changed, 0 insertions, 20 deletions
diff --git a/custom/prosody-modules.nix b/custom/prosody-modules.nix
deleted file mode 100644
index 1b05f19d..00000000
--- a/custom/prosody-modules.nix
+++ /dev/null
@@ -1,20 +0,0 @@
1{ stdenv
2, fetchhg
3, modules ? []
4}:
5
6let
7 copyModule = name: "cp -rv $src/${name} $out/;";
8 concat = a: b: a + b;
9 head = ''
10 source $stdenv/setup
11 mkdir -p $out
12 '';
13in stdenv.mkDerivation {
14 name = "prosody-modules";
15 src = fetchhg {
16 url = "http://hg.prosody.im/prosody-modules";
17 sha256 = "0nsf1j2prc6ggajn7zz9h300msf6aajqqxhy396g7j834knj5fb2";
18 };
19 builder = builtins.toFile "builder.sh" (head + (builtins.foldl' concat "" (map copyModule modules)));
20}