Commit Graph

18 Commits

Author SHA1 Message Date
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
Emily
5111b7afd7
gixy: pass‐through nginx tests
These exercise Gixy through the NixOS nginx module.
2024-08-01 11:25:23 +09:00
Emily
6bd2c7576a
gixy: add pytest migration patch 2024-08-01 11:25:23 +09:00
Emily
5db8f3da5f
gixy: modernize 2024-08-01 11:25:22 +09:00
Martin Weinelt
6335259219
gixy: pin to python311
Tests require nose3, which is not compatible with newer Python versions.
2024-06-24 17:23:11 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Theodore Ni
172e1980cb
gixy: use nose3 for python 3.11 compatibility 2023-08-29 23:01:18 -07:00
figsoda
fdd31f980e pkgs/tools/admin: remove dead code
with the help of deadnix & nil
2023-07-25 09:54:32 -04:00
Martin Weinelt
b97580ffa2
gixy: fix overriden pyparsing by passing setuptools 2022-09-18 21:10:27 +02:00
Martin Weinelt
19ec45fc27
gixy: pin pyparsing at 2.4.7 2022-01-25 14:19:18 +01:00
Sandro Jäckel
b4099137b1
pythonPackages: deprecate ConfigArgParse alias 2021-07-21 13:32:54 +02:00
wahjava
e5a5056b64
gixy: works on darwin platform too (#125713)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-06-05 20:46:05 +02:00
ajs124
06352b165d gixy: use python3 2021-03-03 03:28:56 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Izorkin
8af0412e90 gixy: fix error - no module named pkg_resources 2019-09-09 10:59:58 +03:00
WilliButz
6535a39ef9 gixy: 0.1.9 -> 0.1.20 (#47497) 2018-09-28 23:28:10 +02:00
WilliButz
51ec5a3b5b
gixy: 0.1.8 -> 0.1.9 2018-03-04 14:17:26 +01:00
WilliButz
489fd5a7ce
gixy: init at 0.1.8 2017-11-17 15:36:52 +01:00