about summary refs log tree commit diff
path: root/nixos/tests/odoo.nix
diff options
context:
space:
mode:
authorKarolin Schlegel <karolin.schlegel@googlemail.com>2023-08-24 22:04:40 +0200
committerKarolin Schlegel <karolin.schlegel@googlemail.com>2023-08-27 09:52:43 +0200
commit4eee509d25d5af666f05986a349ae8639c0adfcc (patch)
tree20caea67cd9e75fa4744db049f3ee514d13ab5b7 /nixos/tests/odoo.nix
parentf3961adf6aa6ca5ceb916eec5b76e52a07a723d2 (diff)
odoo15: init at 15.0-20230720
This contribution adds `odoo15` as a fixed version. To allow reusing the
existing test for Odoo, I made the package attribute configurable. To
reference the test for `odoo15` in `passthru` I added it to
`all-tests.nix`.
Diffstat (limited to 'nixos/tests/odoo.nix')
-rw-r--r--nixos/tests/odoo.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/odoo.nix b/nixos/tests/odoo.nix
index 7c2cf31370f9d..00ae4a2137d10 100644
--- a/nixos/tests/odoo.nix
+++ b/nixos/tests/odoo.nix
@@ -1,4 +1,4 @@
-import ./make-test-python.nix ({ pkgs, lib, ...} : {
+import ./make-test-python.nix ({ pkgs, lib, package ? pkgs.odoo, ...} : {
   name = "odoo";
   meta.maintainers = with lib.maintainers; [ mkg20001 ];
 
@@ -11,6 +11,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
 
       services.odoo = {
         enable = true;
+        package = package;
         domain = "localhost";
       };
     };