Commit Graph

8 Commits

Author SHA1 Message Date
R. Ryantm
1b8384bdcf nomacs: 3.19.0 -> 3.19.1 2024-10-15 17:24:52 +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
Martin Joerg
80c970d69d nomacs: support more formats
This adds support for formats like AVIF, HEIF, JPEG XL, and others.
2024-08-28 09:01:35 +00:00
R. Ryantm
71448bf214 nomacs: 3.17.2295 -> 3.19.0 2024-07-10 01:16:23 +00:00
chn
bfa1038277 nomacs: fix build with CUDA support
Co-authored-by: Someone <else@someonex.net>
2024-05-25 16:55:05 +08:00
Weijia Wang
7d61abc95a nomacs: update comment on outputs 2024-03-11 14:33:25 +01:00
Weijia Wang
2645aea27a nomacs: move bundle to $out/Applications 2024-03-11 14:33:09 +01:00
Anderson Torres
5699760278 nomacs: migrate to by-name 2024-03-07 22:28:19 -03:00