Commit Graph

14 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
Jonathan Davies
1340cddc2e
quickwit: 0.8.1 → 0.8.2 2024-06-17 22:12:52 +01:00
Jonathan Davies
6e577b6da1
quickwit: Enable full LTO build 2024-06-16 23:18:43 +01:00
Jonathan Davies
773f17e1df
quickwit: Enable building UI
Based on patch by Thomas Cheronneau
2024-06-16 23:18:33 +01:00
Jonathan Davies
e81519a858
quickwit: Added nixosTests to passthru.tests 2024-06-06 00:49:40 +01:00
Jonathan Davies
00c515de37
quickwit: 0.8.0 → 0.8.1 2024-06-06 00:49:33 +01:00
Niklas Hambüchen
86e9e2e9ed quickwit: Fix outdated Cargo.lock file. See #298589
It was forgotten to be updated with the last update from #298589.
Fixes eval.
2024-04-01 11:14:35 +00:00
happysalada
3ed4208327 quickwit: 0.6.4 -> 0.8.0 2024-03-24 06:27:38 -04:00
Yureka
799fff889b tree-wide: make rust jemalloc-sys use nixpkgs jemalloc build 2023-10-20 14:26:07 +02:00
Jonathan Davies
47ed687e6e quickwit: 0.6.3 -> 0.6.4 2023-10-05 08:00:53 +00:00
Jonathan Davies
60d22eccc2 quickwit: 0.6.2 -> 0.6.3 2023-09-26 10:23:12 +00:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
happysalada
66d1574195 quickwit: 0.6.1 -> 0.6.2 2023-07-17 06:40:09 +08:00
happysalada
68ec85ebeb quickwit: init at 0.6.1 2023-06-13 21:18:25 -04:00