Commit Graph

9 Commits

Author SHA1 Message Date
znaniye
0ac0628f4e odin: dev-2024-07 -> 0-unstable-2024-08-05 2024-08-05 16:49:33 -03:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
zimbatm
77977ae4ad odoo: add missing geoip2 dependency 2024-07-16 21:55:13 +02:00
zimbatm
2c9f7408ca odoo: add missing lxml-html-clean dependency
Fixes this runtime error:

    lxml.html.clean module is now a separate project lxml_html_clean.
    Install lxml[html_clean] or lxml_html_clean directly.
2024-07-16 21:55:13 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Bintang Adiputra Pratama
9ce24ad5fd
odin: copy shared/ directory into ODIN_ROOT 2024-07-10 06:58:01 +07:00
znaniye
33b3da5b32 odin: migrate to by-name 2024-07-04 15:35:51 -03:00
Sirio Balmelli
934bfb6c36
odoo: 17.0.20240507 -> 17.0.20240616
Make it possible to override 'odoo_version' and 'odoo_release'
by moving them to the input attribute set with default values.

Modify 'update.sh' so it correctly updates these defaults.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:22 +00:00
Sirio Balmelli
8306ac3d7e
odoo: migrate to pkgs/by-name
Remove original 'pkgs/applications/finance/odoo' directory.

Update 'pkgs/applications/finance/odoo/update.sh'
to point to the nightly builds archive for odoo, ignoring Docker.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-06-19 13:35:21 +00:00