Commit Graph

16 Commits

Author SHA1 Message Date
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +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
R. Ryantm
8abfe4639a rar: 7.00 -> 7.01 2024-05-18 06:29:45 +00:00
annalee
0d7dc0efc5
treewide: throw on unsupported system src access 2024-04-05 02:30:42 +00:00
R. Ryantm
a2ce8e0d8a rar: 6.24 -> 7.00 2024-03-06 11:18:26 +00:00
Thiago Kenji Okada
ce262e4287 rar: allow evaluation in all platforms 2024-01-08 19:33:53 +00:00
Thiago Kenji Okada
b2d0d556f1 rar: make update script get the latest version 2024-01-08 16:43:32 +00:00
Thiago Kenji Okada
c25a85bea5 rar: 6.21 -> 6.24 2024-01-08 14:24:40 +00:00
Thiago Kenji Okada
f86c15f484 rar: add update script 2024-01-08 14:24:40 +00:00
Thiago Kenji Okada
beaa132a5f rar: 6.12 -> 6.21 2023-02-24 19:39:05 +00:00
Anthony Roussel
f39c54608a rar: 6.11 -> 6.12 2022-08-25 21:44:02 +02:00
Robert Scott
61c35da607 treewide/servers,tools: add sourceType binaryNativeCode for many packages 2022-06-16 20:21:42 +01:00
Thiago Kenji Okada
be3b235cd1 rar: 6.0.2 -> 6.11
Also add support for aarch64-darwin.
2022-03-28 06:48:33 -03:00
Thiago Kenji Okada
b83c8aff1e rar: fix build on darwin
See https://github.com/NixOS/nixpkgs/pull/163924.
2022-03-28 06:48:33 -03:00
Thiago Kenji Okada
2fd4fbe866 rar: add support to x86_64-darwin 2021-09-30 00:00:39 -03:00
Thiago Kenji Okada
316bc514fa rar: init at 6.0.2 2021-09-29 11:18:54 -03:00