summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-11-17 15:45:06 +0100
committerlassulus <lassulus@lassul.us>2019-11-17 15:45:06 +0100
commit62a59ad233ad9bcfdaad6a23f6994d1d90354c6b (patch)
tree2e639946c18f10a1f85b12a42632b57a588eea29
parent6a102630063c01909fd1a5f383326834557b2c65 (diff)
l codimd: fix by using old version
-rw-r--r--lass/2configs/codimd.nix15
1 files 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 <stockholm/lib>;
+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;