summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/prosody-auth.json5
-rw-r--r--custom/prosody-auth.nix8
2 files changed, 6 insertions, 7 deletions
diff --git a/custom/prosody-auth.json b/custom/prosody-auth.json
new file mode 100644
index 00000000..c5361620
--- /dev/null
+++ b/custom/prosody-auth.json
@@ -0,0 +1,5 @@
1{
2 "url": "git://git.yggdrasil.li/prosody_auth",
3 "rev": "cb3ca4eac2a3bf2f589584278c1776db2da3a3f6",
4 "sha256": "0d432sx6bkgabcjib64dajqyw2p6q3js2407mw9mazky52dvfmcf"
5}
diff --git a/custom/prosody-auth.nix b/custom/prosody-auth.nix
index e020fa90..c77677c5 100644
--- a/custom/prosody-auth.nix
+++ b/custom/prosody-auth.nix
@@ -5,13 +5,7 @@
5let 5let
6in stdenv.mkDerivation { 6in stdenv.mkDerivation {
7 name = "prosody-auth"; 7 name = "prosody-auth";
8 src = fetchgit (builtins.fromJSON '' 8 src = fetchgit (builtins.fromJSON (builtins.readFile ./prosody-auth.json));
9 {
10 "url": "git://git.yggdrasil.li/prosody_auth",
11 "rev": "822d502c0bcd9f536356d9922f6886dbe3210ecf",
12 "sha256": "0829xiawnfpviky55mgixhjxh4fwslcn6q7ihsa977d21x361fsl"
13 }
14 '');
15 builder = builtins.toFile "builder.sh" '' 9 builder = builtins.toFile "builder.sh" ''
16 source $stdenv/setup 10 source $stdenv/setup
17 11