Commit Graph

9 Commits

Author SHA1 Message Date
R. Ryantm
dc9fe40b52 ttfb: 1.12.0 -> 1.13.0 2024-10-14 11:07:37 +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
e0f35b176c ttfb: 1.11.0 -> 1.12.0 2024-05-03 02:50:04 +00:00
Philipp Schuster
5a3e9e23e1 ttfb: 1.10.0 -> 1.11.0 2024-04-09 08:39:54 +02: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
Philipp Schuster
dcf427140d ttfb: 1.7.0 -> 1.10.0
The new version doesn't need the openssl dependency anymore.
2023-12-26 00:01:40 +01:00
Philipp Schuster
ed8d3d55a4 ttfb: 1.6.0 -> 1.7.0 2023-09-22 16:55:53 +02:00
Philipp Schuster
dc17f0ae4e ttfb: cleanup 2023-02-27 22:35:09 +01:00
Philipp Schuster
89bd9fcc57 ttfb: init at 1.6.0 2023-02-01 08:20:27 +01:00