Commit Graph

34 Commits

Author SHA1 Message Date
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
Martin Joerg
cde3fb22d0 gmic-qt: 3.4.0 -> 3.4.2
https://github.com/c-koi/gmic-qt/compare/refs/tags/v.3.4.0...refs/tags/v.3.4.2
2024-09-09 19:19:14 +00:00
R. Ryantm
11cf7781ff gmic: 3.4.0 -> 3.4.2 2024-09-04 19:14:52 +00:00
R. Ryantm
e2a04b0577 gmid: 2.1 -> 2.1.1 2024-08-25 13:04:26 +00:00
Donovan Glover
119712f21e
gmobile: init at 0.2.1 2024-08-18 11:00:05 -04:00
R. Ryantm
c65a037bd5 gmid: 2.0.5 -> 2.1 2024-08-04 01:39:07 +00:00
h7x4
7384b9abdc
treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
Lily Foster
c678743f80 treewide: remove lilyinstarlight 2024-07-02 03:17:01 +02:00
Nikolay Korotkiy
989d83cbeb
Merge pull request #320845 from r-ryantm/auto-update/gmid
gmid: 2.0.4 -> 2.0.5
2024-06-18 23:34:21 +04:00
R. Ryantm
1ff1a32e9c gmid: 2.0.4 -> 2.0.5 2024-06-18 18:18:45 +00:00
Martin Joerg
099313780f gmic: correct hash for stdlib
https://gmic.eu/gmic_stdlib_community340.h changed since #320329
2024-06-18 12:12:32 +02:00
Martin Joerg
a58896d453 gmic-qt: 3.3.6 -> 3.4.0
https://github.com/c-koi/gmic-qt/compare/v.3.3.6...v.3.4.0
2024-06-16 19:35:26 +02:00
Martin Joerg
a83610d617 gmic: 3.3.6 -> 3.4.0
https://github.com/GreycLab/gmic/compare/v.3.3.6...v.3.4.0
2024-06-16 19:35:26 +02:00
Jan Tojnar
7987842fec
Merge pull request #318589 from jtojnar/u-s-v-ignore-same
common-updater-scripts/u-s-v: support --ignore-same-version
2024-06-13 00:41:07 +02:00
R. Ryantm
65027777f0 gmid: 2.0.3 -> 2.0.4 2024-06-10 10:52:06 +00: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
Jan Tojnar
0421c816ba treewide: Simplify use of update-source-version
- `--ignore-same-version` allows us to not call it twice.
- with that, we can also omit version, to allow us updating e.g. `cargoDeps` hash
2024-06-09 20:33:23 +02:00
R. Ryantm
f43aa031d2 gmid: 2.0.2 -> 2.0.3 2024-06-04 14:44:19 +00:00
R. Ryantm
962ec471ba gimpPlugins.gmic: 3.3.5 -> 3.3.6 2024-05-31 18:25:50 +00:00
R. Ryantm
78e942253e gmic: 3.3.5 -> 3.3.6 2024-05-20 19:49:29 +00:00
Andrew Marshall
5678aa0521 gmic-qt: build from Git source to avoid mutable tarball
The previous tarball src sometimes gets mutated (see e.g. [this
comment][1]). This was changed from the Git src in
fd3e2b49f4 (see also [upstream
discussion][2]). However the delta seems simple; it had error:

```
In file included from /build/source/src/GmicProcessor.cpp:48:
/nix/store/jk1dp7v01pisw0flybqwyjg63in6r9fp-gmic-3.3.5-dev/include/gmic.h:191:21: fatal error: gmic.cpp: No such file or directory
  191 | #define cimg_plugin "gmic.cpp"
```

workaround this by linking `gmic.cpp` into the expected location as it
appears in the tarball.

cimg is now needed in buildInputs as it is bundled in the tarball, but
not the Git src.

Change the updateScript to simpler one that can use the Git tags.

This may appear to be downgrading, but this is only because the previous
drv used the gmic version, not the gmic-qt version.

[1]: https://github.com/NixOS/nixpkgs/pull/311734#issuecomment-2118663822
[2]: https://github.com/c-koi/gmic-qt/pull/175
2024-05-20 09:24:47 -04:00
R. Ryantm
2f3bdcabfe gimpPlugins.gmic: 3.3.5 -> 3.3.6 2024-05-14 19:57:27 +00:00
R. Ryantm
4109764187 gmetronome: 0.3.3 -> 0.3.4 2024-05-12 12:27:59 +00: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
Nikolay Korotkiy
eaf5fc1813
gmid: migrate to by-name 2024-04-10 19:47:15 +04: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
Weijia Wang
3e33aea56d
Merge pull request #295719 from wegank/gmic-bump
gmic: 3.3.1 -> 3.3.5
2024-03-14 12:07:18 +01:00
Weijia Wang
229322f28f gmic: 3.3.1 -> 3.3.5 2024-03-13 23:41:23 +01:00
R. Ryantm
2db7d81f64 gimpPlugins.gmic: 3.3.4 -> 3.3.5 2024-03-13 13:21:27 +00:00
Weijia Wang
5c1a42d2bd
Merge pull request #294558 from Aleksanaa/gmetronome
gmetronome: init at 0.3.3
2024-03-10 20:44:03 +01:00
aleksana
bd02f6e2a6 gmetronome: init at 0.3.3 2024-03-10 16:17:38 +08:00
Anderson Torres
a47a4508b3 gmic-qt: refactor
- bring uniformity to variants set
- set sourceRoot
- intern libsForQt5
- migrate to by-name
2024-03-09 12:54:14 -03:00
Anderson Torres
88a52373d7 gmic: 3.2.6 -> 3.3.1 2023-10-09 19:01:25 -03:00
Anderson Torres
e04c25f558 gmic: migrate to by-name 2023-10-09 19:01:25 -03:00