Commit Graph

25 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
R. Ryantm
4429be0054 pict-rs: 0.5.13 -> 0.5.16 2024-06-25 03:45:29 +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
R. Ryantm
4dca457901 pict-rs: 0.5.11 -> 0.5.13 2024-05-01 23:14:45 +00:00
R. Ryantm
3ebbcab5d0 pict-rs: 0.5.10 -> 0.5.11 2024-04-02 19:10:31 +00:00
R. Ryantm
5d820591e9 pict-rs: 0.5.9 -> 0.5.10 2024-03-25 02:11:12 +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
R. Ryantm
6d73040cb4 pict-rs: 0.5.7 -> 0.5.9 2024-03-15 00:56:22 +00:00
Rebecca Turner
0effc1df91
pict-rs: Mark broken on darwin
A lot of build failures when testing:

```
pict-rs> Executing cargoCheckHook
pict-rs> ++ cargo test -j 20 --profile release --target aarch64-apple-darwin --frozen -- --test-threads=20
pict-rs>    Compiling ring v0.17.8
pict-rs>    Compiling io-uring v0.5.13
pict-rs>    Compiling socket2 v0.4.10
pict-rs>    Compiling scoped-tls v1.0.1
pict-rs> error[E0425]: cannot find value `MAP_POPULATE` in crate `libc`
pict-rs>     --> /private/tmp/nix-build-pict-rs-0.5.7.drv-0/pict-rs-0.5.7-vendor.tar.gz/io-uring/src/util.rs:19:42
pict-rs>      |
pict-rs> 19   |                 libc::MAP_SHARED | libc::MAP_POPULATE,
pict-rs>      |                                          ^^^^^^^^^^^^ help: a constant with a similar name exists: `MAP_PRIVATE`
pict-rs>      |
pict-rs>     ::: /private/tmp/nix-build-pict-rs-0.5.7.drv-0/pict-rs-0.5.7-vendor.tar.gz/libc/src/unix/bsd/apple/mod.rs:3314:1
```
2024-03-06 10:02:19 -08:00
R. Ryantm
95cbbb6648 pict-rs: 0.5.6 -> 0.5.7 2024-03-05 13:30:57 +00:00
R. Ryantm
fa365616d4 pict-rs: 0.5.1 -> 0.5.6 2024-02-11 05:45:49 +00:00
R. Ryantm
3921a42c60 pict-rs: 0.5.0 -> 0.5.1 2024-01-20 03:36:45 +00:00
R. Ryantm
d8404b6c2e pict-rs: 0.4.7 -> 0.5.0 2024-01-11 09:04:05 +00:00
R. Ryantm
16d613b330 pict-rs: 0.4.6 -> 0.4.7 2023-12-28 13:48:28 +00:00
K900
351a90cf8e pict-rs: 0.4.5 -> 0.4.6 2023-12-11 22:13:52 +03:00
R. Ryantm
969737812c pict-rs: 0.4.3 -> 0.4.5 2023-11-05 06:53:49 +00:00
R. Ryantm
897629a42f pict-rs: 0.4.2 -> 0.4.3 2023-09-25 06:53:02 -04:00
zowoq
d08bb79771 pict-rs: 0.4.0 -> 0.4.2
https://git.asonix.dog/asonix/pict-rs/releases/tag/v0.4.1
https://git.asonix.dog/asonix/pict-rs/releases/tag/v0.4.2
2023-08-11 10:51:21 +08:00
adisbladis
71632b0dac pict-rs: Use main ffmpeg attribute
Don't build against ffmpeg-4.
2023-07-16 20:34:41 +12:00
adisbladis
fceac044f8 pict-rs_0_3: init at 0.3.3
We need to package this older version of pict-rs so NixOS with older stateVersion can still use it.
2023-07-14 17:46:26 +12:00
adisbladis
497d9b829a pict-rs: 0.3.3 -> 0.4.0 2023-07-14 17:46:26 +12:00
asonix
cb2941db79 pict-rs: 0.3.0-alpha.37 -> 0.3.3 2023-05-09 15:24:54 -04:00
Fabian Möller
4329d79dba
nixos/tests: link tests to their packages 2022-01-23 21:08:10 +01:00
happysalada
1320843aad pict-rs: fixes 2021-09-30 21:32:25 +09:00
happysalada
84587ecefa pict-rs: init at 0.3.0-alpha.37 2021-09-29 16:49:56 +09:00