summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/atd
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2021-04-04 00:30:47 +0200
committerLéo Gaspard <leo@gaspard.io>2021-05-08 21:41:13 +0200
commit4b3d07eae2ce3080c6d4eb8356378e54233a59c9 (patch)
tree35d25e3d21c5f82207d94005fef7a9c0a356269d /pkgs/development/ocaml-modules/atd
parent742886cc3a9b6a1b67e0502840c72f2da57eaf8f (diff)
downloadnixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.tar
nixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.tar.gz
nixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.tar.bz2
nixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.tar.lz
nixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.tar.xz
nixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.tar.zst
nixpkgs-4b3d07eae2ce3080c6d4eb8356378e54233a59c9.zip
ocamlPackages.atd: add link to nixos test
Diffstat (limited to 'pkgs/development/ocaml-modules/atd')
-rw-r--r--pkgs/development/ocaml-modules/atd/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/atd/default.nix b/pkgs/development/ocaml-modules/atd/default.nix
index 2f85221e539..de6ade61518 100644
--- a/pkgs/development/ocaml-modules/atd/default.nix
+++ b/pkgs/development/ocaml-modules/atd/default.nix
@@ -1,4 +1,4 @@
-{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re }:
+{ lib, menhir, easy-format, fetchurl, buildDunePackage, which, re, nixosTests }:
 
 buildDunePackage rec {
   pname = "atd";
@@ -18,6 +18,10 @@ buildDunePackage rec {
 
   doCheck = true;
 
+  passthru.tests = {
+    smoke-test = nixosTests.atd;
+  };
+
   meta = with lib; {
     homepage = "https://github.com/mjambon/atd";
     description = "Syntax for cross-language type definitions";