From fd18ed96f2ff51bddc21f174b2e43efecc17cc64 Mon Sep 17 00:00:00 2001 From: Stephane Date: Sun, 23 Feb 2020 21:18:49 +0100 Subject: [PATCH] rainloop: 1.13.0 -> 1.14.0 - update version - change mechanism to set the data folder outside the nix store --- pkgs/servers/rainloop/default.nix | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/rainloop/default.nix b/pkgs/servers/rainloop/default.nix index ff6cb8c98ebf..bff5d2ea3062 100644 --- a/pkgs/servers/rainloop/default.nix +++ b/pkgs/servers/rainloop/default.nix @@ -1,8 +1,8 @@ -{ stdenv, fetchurl, unzip, dataPath ? "/etc/rainloop" }: let +{ stdenv, fetchurl, unzip, pkgs, dataPath ? "/var/lib/rainloop" }: let common = { edition, sha256 }: stdenv.mkDerivation (rec { pname = "rainloop${stdenv.lib.optionalString (edition != "") "-${edition}"}"; - version = "1.13.0"; + version = "1.14.0"; buildInputs = [ unzip ]; @@ -16,11 +16,23 @@ sha256 = sha256; }; + includeScript = pkgs.writeText "include.php" '' +