From 8a05c7fb2e7aad81ce4eb31b5173f4dabf353e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 13 Apr 2020 10:27:35 +0200 Subject: Add syden peertube website --- pkgs/webapps/peertube/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pkgs/webapps/peertube/default.nix') diff --git a/pkgs/webapps/peertube/default.nix b/pkgs/webapps/peertube/default.nix index 7889cee..3642a44 100644 --- a/pkgs/webapps/peertube/default.nix +++ b/pkgs/webapps/peertube/default.nix @@ -1,4 +1,4 @@ -{ ldap ? false, sendmail ? false, light ? null, runCommand, libsass +{ ldap ? false, sendmail ? false, light ? null, syden ? false, runCommand, libsass , lib, stdenv, rsync, fetchzip, youtube-dl, fetchurl, mylibs, python, nodejs, nodePackages, yarn2nix-moretea }: let nodeHeaders = fetchurl { @@ -8,7 +8,10 @@ let source = mylibs.fetchedGithub ./peertube.json; patchedSource = stdenv.mkDerivation (source // rec { phases = [ "unpackPhase" "patchPhase" "installPhase" ]; - patches = [ ./yarn_fix_http_node.patch ] ++ lib.optionals ldap [ ./ldap.patch ] ++ lib.optionals sendmail [ ./sendmail.patch ]; + patches = [ ./yarn_fix_http_node.patch ] + ++ lib.optionals ldap [ ./ldap.patch ] + ++ lib.optionals sendmail [ ./sendmail.patch ] + ++ lib.optionals syden [ ./syden.patch ]; installPhase = let # Peertube supports several languages, but they take a very long # time to build. The build script accepts --light which builds @@ -37,9 +40,6 @@ let ''; yarnModulesConfig = { - # all = { - # buildInputs = [ yarn2nix-moretea.yarn2nix.src ]; - # }; bcrypt = { buildInputs = [ nodePackages.node-pre-gyp ]; postInstall = let -- cgit v1.2.3