codimd: build with nodejs-12_x instead of nodejs-10_x

The codimd test is now exposed via passthru.tests
This commit is contained in:
WilliButz 2020-09-08 20:03:41 +02:00
parent 61999845f8
commit 46e3949819
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, makeWrapper
, which, nodejs, mkYarnPackage, python2 }:
, which, nodejs, mkYarnPackage, python2, nixosTests }:
mkYarnPackage rec {
name = "codimd";
@ -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;

View File

@ -2708,7 +2708,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 { };