summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2021-02-03 15:56:34 -0300
committerGitHub <noreply@github.com>2021-02-03 15:56:34 -0300
commit8bf1bc692c66549d6e1ab07b226424044d85491f (patch)
tree8027625a0bb48e0a37ded852e21c95640d09e19a /nixos
parenta27a2c4b1598a1b98c8c14c262cee5ffc4c9c11c (diff)
parent688ebdc77dcc73163da651ad1bfc7509266df67e (diff)
downloadnixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.tar
nixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.tar.gz
nixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.tar.bz2
nixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.tar.lz
nixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.tar.xz
nixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.tar.zst
nixpkgs-8bf1bc692c66549d6e1ab07b226424044d85491f.zip
Merge pull request #110512 from neosimsim/agda-dont-install-Everything
Agda don't install Everything module
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/agda.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/tests/agda.nix b/nixos/tests/agda.nix
index ccc6a9bbfd1..3773907cff5 100644
--- a/nixos/tests/agda.nix
+++ b/nixos/tests/agda.nix
@@ -23,6 +23,13 @@ in
   };
 
   testScript = ''
+    assert (
+        "${pkgs.agdaPackages.lib.interfaceFile "Everything.agda"}" == "Everything.agdai"
+    ), "wrong interface file for Everything.agda"
+    assert (
+        "${pkgs.agdaPackages.lib.interfaceFile "tmp/Everything.agda.md"}" == "tmp/Everything.agdai"
+    ), "wrong interface file for tmp/Everything.agda.md"
+
     # Minimal script that typechecks
     machine.succeed("touch TestEmpty.agda")
     machine.succeed("agda TestEmpty.agda")