From 62a59ad233ad9bcfdaad6a23f6994d1d90354c6b Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 17 Nov 2019 15:45:06 +0100 Subject: l codimd: fix by using old version --- lass/2configs/codimd.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lass/2configs/codimd.nix b/lass/2configs/codimd.nix index 5f802148b..b2d44d135 100644 --- a/lass/2configs/codimd.nix +++ b/lass/2configs/codimd.nix @@ -1,7 +1,18 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: with import ; +let + + nixpkgs_pre_node_10_17 = import (pkgs.fetchFromGitHub { + owner = "nixos"; + repo = "nixpkgs"; + rev = "81f4c491afbc8f0fe994ef946b1ac61cf1261577"; + sha256 = "0xvawrd9nq3ybvq2pdp5gyi8gygf0yimgp0bx1xggq6l8mvgrj71"; + }) {}; +in { + nixpkgs.config.packageOverrides = pkgs: { + codimd = nixpkgs_pre_node_10_17.codimd; + }; -{ services.nginx.virtualHosts.codimd = { enableACME = true; addSSL = true; -- cgit v1.2.3