Commit Graph

8 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
Reno Dakota
d6c9baab19
arcan: fix strict deps
add wayland-scanner to nativeBuildInputs
2024-07-25 07:21:56 +00:00
Anderson Torres
ed12d8f5e0 arcan: declare upstream tracy alongside letoram fork
The fork is somewhat broken.
2024-06-28 15:13:24 -03:00
Anderson Torres
6a6ce22964 arcan: 0.6.2.1-unstable-2023-11-18 -> 0.6.3
Also update the external/git sources too.
2024-06-28 15:13:24 -03:00
Anderson Torres
dda2d7672e arcan: refactor
- hammer-reorder
- replace-fail
- strictDeps
- split outputs
2024-06-28 15:12:33 -03:00
Anderson Torres
51e0ef8568 arcan: move sources to sources.nix
It is easier to control them this way, in order to not pollute the master
package file.

Also, let's put them on passthru.
2024-06-28 15:04:47 -03:00
Anderson Torres
297954c149 arcan: 0.6.2.1-unstable-2023-10-14 -> 0.6.2.1-unstable-2023-11-18 2023-12-05 23:04:47 -03:00
Anderson Torres
47e076a86f arcan: migrate to by-name 2023-12-05 23:04:46 -03:00