Commit Graph

16 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
Martin Weinelt
abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
89b6be3a7b gimme-aws-creds: 2.8.1.1 -> 2.8.2 2024-05-14 22:14:55 +00:00
R. Ryantm
262eeddca4 gimme-aws-creds: 2.8.0 -> 2.8.1.1 2024-05-07 09:53:25 +00: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
JB Gosselin
e4316fb255
gimme-aws-creds: 2.7.2 -> 2.8.0 2024-02-12 21:29:39 -05:00
JB Gosselin
858018fd32
gimme-aws-creds: 2.7.1 -> 2.7.2 2023-08-28 14:13:49 -04:00
R. Ryantm
4187eadf09 gimme-aws-creds: 2.7.0 -> 2.7.1 2023-08-06 14:06:24 +00:00
figsoda
d458ad1abe treewide: remove attrPath from nix-update-script calls 2023-07-26 18:21:18 -04:00
R. Ryantm
c77972de35 gimme-aws-creds: 2.6.1 -> 2.7.0 2023-06-24 04:38:01 +00:00
Weijia Wang
32ad3c33e7 treewide: tools/admin: use top-level fetchPypi 2023-05-25 14:54:35 +03:00
JB Gosselin
f53e6b3dfb
maintainers: rename dennajort -> jbgosselin 2023-05-09 22:36:09 +02:00
R. Ryantm
4f249ae06c gimme-aws-creds: 2.6.0 -> 2.6.1 2023-05-06 02:43:37 +00:00
JB Gosselin
992791d28a
gimme-aws-creds: 2.5.0 -> 2.6.0 2023-05-02 22:31:16 -04:00
JB Gosselin
d72c372c0c
gimme-aws-creds: init at 2.5.0 2023-03-02 11:17:16 -05:00