aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/modules/websites')
-rw-r--r--nixops/modules/websites/aten/aten.nix2
-rw-r--r--nixops/modules/websites/commons/stats.nix6
-rw-r--r--nixops/modules/websites/tools/diaspora/default.nix4
-rw-r--r--nixops/modules/websites/tools/mastodon/default.nix4
-rw-r--r--nixops/modules/websites/tools/mediagoblin/mediagoblin.nix8
5 files changed, 9 insertions, 15 deletions
diff --git a/nixops/modules/websites/aten/aten.nix b/nixops/modules/websites/aten/aten.nix
index dc8d25f..b60b00a 100644
--- a/nixops/modules/websites/aten/aten.nix
+++ b/nixops/modules/websites/aten/aten.nix
@@ -102,7 +102,7 @@ let
102 postInstall = let 102 postInstall = let
103 nodeHeaders = fetchurl { 103 nodeHeaders = fetchurl {
104 url = "https://nodejs.org/download/release/v${nodejs.version}/node-v${nodejs.version}-headers.tar.gz"; 104 url = "https://nodejs.org/download/release/v${nodejs.version}/node-v${nodejs.version}-headers.tar.gz";
105 sha256 = "12zzsf8my43b8qnlacp871ih5vqafl2vlpqp51xp6h3gckn2frwy"; 105 sha256 = "16f20ya3ys6w5w6y6l4536f7jrgk4gz46bf71w1r1xxb26a54m32";
106 }; 106 };
107 in 107 in
108 '' 108 ''
diff --git a/nixops/modules/websites/commons/stats.nix b/nixops/modules/websites/commons/stats.nix
index 921cde2..8d618c5 100644
--- a/nixops/modules/websites/commons/stats.nix
+++ b/nixops/modules/websites/commons/stats.nix
@@ -25,12 +25,6 @@ in {
25 25
26 nixpkgs.overlays = [ (self: super: rec { 26 nixpkgs.overlays = [ (self: super: rec {
27 goaccess = super.goaccess.overrideAttrs(old: rec { 27 goaccess = super.goaccess.overrideAttrs(old: rec {
28 name = "goaccess-${version}";
29 version = "1.3";
30 src = self.fetchurl {
31 url = "https://tar.goaccess.io/${name}.tar.gz";
32 sha256 = "16vv3pj7pbraq173wlxa89jjsd279004j4kgzlrsk1dz4if5qxwc";
33 };
34 configureFlags = old.configureFlags ++ [ "--enable-tcb=btree" ]; 28 configureFlags = old.configureFlags ++ [ "--enable-tcb=btree" ];
35 buildInputs = old.buildInputs ++ [ self.tokyocabinet self.bzip2 ]; 29 buildInputs = old.buildInputs ++ [ self.tokyocabinet self.bzip2 ];
36 }); 30 });
diff --git a/nixops/modules/websites/tools/diaspora/default.nix b/nixops/modules/websites/tools/diaspora/default.nix
index b1cb6f2..7a2af97 100644
--- a/nixops/modules/websites/tools/diaspora/default.nix
+++ b/nixops/modules/websites/tools/diaspora/default.nix
@@ -1,6 +1,6 @@
1{ lib, pkgs, config, myconfig, mylibs, ... }: 1{ lib, pkgs, pkgsPrevious, config, myconfig, mylibs, ... }:
2let 2let
3 diaspora = pkgs.callPackage ./diaspora.nix { 3 diaspora = pkgsPrevious.callPackage ./diaspora.nix {
4 inherit (mylibs) fetchedGithub; 4 inherit (mylibs) fetchedGithub;
5 env = myconfig.env.tools.diaspora; 5 env = myconfig.env.tools.diaspora;
6 }; 6 };
diff --git a/nixops/modules/websites/tools/mastodon/default.nix b/nixops/modules/websites/tools/mastodon/default.nix
index b64474c..b0ace56 100644
--- a/nixops/modules/websites/tools/mastodon/default.nix
+++ b/nixops/modules/websites/tools/mastodon/default.nix
@@ -1,6 +1,6 @@
1{ lib, pkgs, config, myconfig, mylibs, ... }: 1{ lib, pkgs, pkgsPrevious, config, myconfig, mylibs, ... }:
2let 2let
3 mastodon = pkgs.callPackage ./mastodon.nix { 3 mastodon = pkgsPrevious.callPackage ./mastodon.nix {
4 inherit (mylibs) fetchedGithub; 4 inherit (mylibs) fetchedGithub;
5 env = myconfig.env.tools.mastodon; 5 env = myconfig.env.tools.mastodon;
6 }; 6 };
diff --git a/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix b/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix
index 45bc432..53796d5 100644
--- a/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix
+++ b/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix
@@ -1,4 +1,4 @@
1{ env, makeWrapper, stdenv, writeText, fetchurl, buildBowerComponents, fetchedGit, fetchedGithub, which, python3, pkgs, automake, autoconf, nodejs, nodePackages, git, cacert }: 1{ env, makeWrapper, stdenv, writeText, fetchurl, buildBowerComponents, fetchedGit, fetchedGithub, which, python36, pkgs, automake, autoconf, nodejs, nodePackages, git, cacert }:
2let 2let
3 plugins = { 3 plugins = {
4 basicsearch = stdenv.mkDerivation (fetchedGithub ./mediagoblin-plugin-basicsearch.json // rec { 4 basicsearch = stdenv.mkDerivation (fetchedGithub ./mediagoblin-plugin-basicsearch.json // rec {
@@ -68,11 +68,11 @@ let
68 url = "mirror://pypi/P/PasteScript/${name}.tar.gz"; 68 url = "mirror://pypi/P/PasteScript/${name}.tar.gz";
69 sha256 = "1h3nnhn45kf4pbcv669ik4faw04j58k8vbj1hwrc532k0nc28gy0"; 69 sha256 = "1h3nnhn45kf4pbcv669ik4faw04j58k8vbj1hwrc532k0nc28gy0";
70 }; 70 };
71 propagatedBuildInputs = with self; [ six paste PasteDeploy argparse ]; 71 propagatedBuildInputs = with self; [ six paste PasteDeploy ];
72 }); 72 });
73 }; 73 };
74 in 74 in
75 python3.override { inherit packageOverrides; }; 75 python36.override { inherit packageOverrides; };
76 pythonEnv = python-pkgs: with python-pkgs; [ 76 pythonEnv = python-pkgs: with python-pkgs; [
77 waitress alembic dateutil wtforms pybcrypt 77 waitress alembic dateutil wtforms pybcrypt
78 pytest pytest_xdist werkzeug celery 78 pytest pytest_xdist werkzeug celery
@@ -80,7 +80,7 @@ let
80 sqlalchemy itsdangerous pytz sphinx six 80 sqlalchemy itsdangerous pytz sphinx six
81 oauthlib unidecode jsonschema PasteDeploy 81 oauthlib unidecode jsonschema PasteDeploy
82 requests PyLD exifread 82 requests PyLD exifread
83 typing pasteScript 83 typing pasteScript lxml
84 # For images plugin 84 # For images plugin
85 pillow 85 pillow
86 # For video plugin 86 # For video plugin