Commit Graph

16 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
Alexandre Esteves
f307302a7f echidna: run nixfmt 2024-07-30 13:53:34 +01:00
Alexandre Esteves
cb10e91077 echidna: fix build on aarch64-darwin 2024-07-30 13:43:53 +01:00
hellwolf
10c44b5ca1
echidna: 2.2.2 -> 2.2.3
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-07-17 22:34:58 +03:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
hellwolf
740f07aee3
echidna: 2.2.1 -> 2.2.2 2024-01-28 14:57:54 +02:00
Manuel Frischknecht
9ce833e2bc echidna: fix broken build
The overridden `hevm` package declared in `echnidna`s package
is missing its `tuple` dependency, leading to failing builds:

```
Configuring hevm-0.51.3...
CallStack (from HasCallStack):
  withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils
Error: Setup: Encountered missing or private dependencies:
tuple >=0.3.0.2 && <0.4
```
2023-12-28 00:47:45 +00:00
Miao, ZhiCheng
e6f657ba87
echidna: fix build due to brick-1.9
- use fetchpatch
2023-08-30 15:06:41 +03:00
Miao, ZhiCheng
d20ff6f764
echidna: 2.0.5 -> 2.2.1
* Changes
  - add slither-analyzer as a explicit executable system dependency.
  - use custom hevm dependency, instead of from haskellPackage.
2023-07-20 22:34:23 +03:00
Miao, ZhiCheng
3fcbabcc29
echidna: add new maintainer hellwolf 2023-07-20 21:53:51 +03:00
Artur Cygan
38d9d6a671 echidna: 2.0.4 -> 2.0.5 2023-01-21 14:11:25 +01:00
Artur Cygan
05f0b0614b echidna: 2.0.3 -> 2.0.4 2022-11-23 16:20:31 +01:00
Artur Cygan
94cd95a346 echidna: 2.0.2 -> 2.0.3 2022-09-11 14:11:13 +02:00
Artur Cygan
6cabaded4a echidna: 1.7.3 -> 2.0.2 2022-09-08 23:02:35 +02:00
Artur Cygan
cb2fee8ed3 echidna: 1.7.2 -> 1.7.3 2021-12-26 14:53:59 -08:00
Artur Cygan
af3e9c79eb echidna: init at 1.7.2 2021-08-05 12:34:07 +02:00