Commit Graph

29 Commits

Author SHA1 Message Date
R. Ryantm
d6e1e2c8a2 irust: 1.71.23 -> 1.71.24 2024-09-28 22:38:00 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
178dbecb44 irpf: 2024-1.3 -> 2024-1.4 2024-08-25 02:12:34 +00:00
Peder Bergebakken Sundt
660a8b1c81 irrd: unbreak 2024-08-18 23:31:55 +02:00
Donovan Glover
c96884d3f2
ironbar: 0.15.1 -> 0.16.0 2024-08-10 11:07:47 -04: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
R. Ryantm
17ee07c43d irpf: 2024-1.2 -> 2024-1.3 2024-08-01 16:15:17 +00:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Peder Bergebakken Sundt
860df4103a
Merge pull request #300812 from loco-choco/irpf-update-script
irpf: 2024-1.1 -> 2024-1.2
2024-07-21 01:09:14 +02:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
5c5c20919b adwaita-icon-theme: Move from gnome scope to top-level
It is widely used outside gnome – although it probably should not be.
2024-07-01 08:26:46 +02:00
Locochoco
cef69659f9 irpf: 2024-1.1 -> 2024-1.2 2024-06-21 22:11:19 -03:00
loco-choco
0bd8b0ed2f irpf: change from using rec to finalAttrs syntax 2024-06-21 21:59:43 -03:00
loco-choco
df0ba5c92d irpf: move derivation to /pkgs/by-name/ir/irpf 2024-06-21 21:59:43 -03: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
Yureka
18214ff3c9
irrd: 4.4.2 -> 4.4.4; fix build (#319522) 2024-06-13 17:27:40 +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
lelgenio
7ebcae230b irust: init at 1.71.23 2024-06-02 15:00:22 -03:00
R. Ryantm
18fa20098c ironbar: 0.15.0 -> 0.15.1 2024-05-06 05:28:18 +00:00
kashw2
3567088dfe ironbar: 0.14.1 -> 0.15.0 2024-05-05 01:26:51 +10:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
Mario Rodas
38b8f65d4c iredis: fix build on x86_64-darwin 2024-04-15 04:20:00 +00:00
Mario Rodas
a69122c37d iredis: update meta 2024-04-15 04:20:00 +00:00
Mario Rodas
180cf46b4c iredis: 1.14.1 -> 1.15.0
Diff: https://github.com/laixintao/iredis/compare/v1.14.1...v1.15.0

Changelog: https://github.com/laixintao/iredis/raw/v1.15.0/CHANGELOG.md
2024-04-15 04:20:00 +00:00
Mario Rodas
5b07b1005b iredis: migrate to by-name 2024-04-15 04:20:00 +00:00
R. Ryantm
05e8c3e2d9 ironbar: 0.14.0 -> 0.14.1 2024-02-11 09:48:04 +00:00
R. Ryantm
6c815377c3 ironbar: 0.13.0 -> 0.14.0 2024-01-21 10:50:27 +00:00
Donovan Glover
c8268da6d1 ironbar: init at 0.13.0
Co-authored-by: Yavor Kolev <yavornkolev@gmail.com>
2023-09-09 20:48:37 +02:00