Skip to content

Commit

Permalink
Merge pull request #97463 from WilliButz/codimd/fix-sqlite/node12
Browse files Browse the repository at this point in the history
codimd: build with nodejs-12_x instead of nodejs-10_x
  • Loading branch information
Ma27 committed Sep 9, 2020
2 parents f729755 + 46e3949 commit 1b344f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pkgs/servers/web-apps/codimd/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, makeWrapper
, which, nodejs, mkYarnPackage, python2 }:
, which, nodejs, mkYarnPackage, python2, nixosTests }:

mkYarnPackage rec {
name = "codimd";
Expand Down Expand Up @@ -63,6 +63,8 @@ mkYarnPackage rec {
runHook postDist
'';

passthru.tests = { inherit (nixosTests) codimd; };

meta = with stdenv.lib; {
description = "Realtime collaborative markdown notes on all platforms";
license = licenses.agpl3;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,7 @@ in
cmt = callPackage ../applications/audio/cmt {};

codimd = callPackage ../servers/web-apps/codimd {
nodejs = nodejs-10_x;
nodejs = nodejs-12_x;
};

colord = callPackage ../tools/misc/colord { };
Expand Down

0 comments on commit 1b344f2

Please sign in to comment.