diff --git a/pkgs/servers/web-apps/codimd/default.nix b/pkgs/servers/web-apps/codimd/default.nix index 6771f459b68b..7de539bb0913 100644 --- a/pkgs/servers/web-apps/codimd/default.nix +++ b/pkgs/servers/web-apps/codimd/default.nix @@ -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; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0243385f77e0..0fbd2bd0d6d9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };