Commit Graph

17 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
Bobby Rong
07afe74768
muffin: Move from cinnamon scope to top-level 2024-07-23 22:12:40 +08:00
Martin Weinelt
0abdf47358
nixos/tests/music-assistant: init 2024-07-17 22:29:38 +02:00
Martin Weinelt
241fe52147
music-assistant: init at 2.0.7 2024-07-17 22:29:38 +02:00
Alexis Hildebrandt
e053dd43a8 musikcube: 3.0.3 -> 3.0.4 2024-07-16 08:39:21 +02:00
Felix Schröter
ff1dc27711 {tor,mullvad}-browser: migrate to pkgs/by-name 2024-07-12 10:20:37 +02:00
Aaron Andersen
240a44d233
Merge pull request #325482 from afh/update-modernize-musikcube
musikcube: 3.0.2 -> 3.0.3, move to pkgs/by-name, format using nixfmt, modernize
2024-07-09 12:27:03 -04:00
Pablo Ovelleiro Corral
dd148685d0
museum: init at photos-v0.9.5 2024-07-09 00:16:00 +02:00
Alexis Hildebrandt
d801915b52 musikcube: modernize 2024-07-08 11:22:38 +02:00
Alexis Hildebrandt
bf091dbb5f musikcube: reformat using nixfmt 2024-07-08 11:17:32 +02:00
Alexis Hildebrandt
ad5271f745 musikcube: move to pkgs/by-name 2024-07-08 11:16:58 +02:00
aleksana
1ee81ae941 multiplex: init at 0.1.4 2024-06-17 03:13:41 +08: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
octodi
ae94be2720 muffon: init at 2.0.3 2024-06-03 20:21:44 +00:00
Weijia Wang
fde79b3209 muparser: 2.2.3 -> 2.3.4, refactor 2024-01-22 03:34:06 +01:00
Nick Cao
c704e30609
multirun: init at 1.1.3 2023-12-25 10:23:30 -05:00
aoife cassidy
7071bf24d4
mus: change upstream src; migrate to by-name
~sfr -> ~nbsp; author (me) changed usernames
2023-11-28 23:27:35 +02:00