Commit Graph

13 Commits

Author SHA1 Message Date
h7x4
8a585ebfe1
gmic{,-qt}: enable OpenCV, OpenMP (Clang) and X11 (#340855) 2024-10-03 18:12:03 +02: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
Martin Joerg
79474fd4c3 gmic: enable OpenCV, OpenMP (Clang) and X11
fixes #265966
2024-09-09 19:46:59 +00:00
R. Ryantm
11cf7781ff gmic: 3.4.0 -> 3.4.2 2024-09-04 19:14:52 +00:00
Lily Foster
c678743f80 treewide: remove lilyinstarlight 2024-07-02 03:17:01 +02: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
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
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
78e942253e gmic: 3.3.5 -> 3.3.6 2024-05-20 19:49:29 +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
Weijia Wang
229322f28f gmic: 3.3.1 -> 3.3.5 2024-03-13 23:41:23 +01: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