Commit Graph

13 Commits

Author SHA1 Message Date
Emily
10002648a5 Revert "rav1e: remove build-time dependency on libgit2"
Too many rebuilds.

This reverts commit 3c6420ad82.
2024-11-12 15:21:38 +00:00
Emily
0b700c72b7 Revert "rav1e: use new Darwin SDK pattern"
Too many rebuilds.

This reverts commit c4a4f958cb.
2024-11-12 15:21:38 +00:00
Theodore Ni
c4a4f958cb
rav1e: use new Darwin SDK pattern 2024-11-11 20:38:29 -08:00
Theodore Ni
3c6420ad82
rav1e: remove build-time dependency on libgit2 2024-11-11 20:38:25 -08: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
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Randy Eckenrode
5e49654644
rav1e: work around build failure with Rust 1.79 2024-07-20 02:24:29 -04:00
seth
84f5e5c688
rav1e: add updateScript 2024-07-15 13:32:35 -04:00
seth
d12fe4763b
rav1e: add version test 2024-06-12 03:28:23 -04:00
seth
7f76088890
rav1e: modernize
https://github.com/NixOS/nixpkgs/issues/208242
2024-06-12 03:28:23 -04:00
seth
20726adce7
rav1e: adopt 2024-06-12 03:28:23 -04:00
seth
8a7b6d26b7
rav1e: format with nixfmt 2024-06-12 03:28:22 -04:00
seth
1cc5cb9434
rav1e: migrate to by-name 2024-06-12 03:28:22 -04:00