Commit Graph

6 Commits

Author SHA1 Message Date
Gaetan Lepage
dd6b534eab mistral-rs: 0.3.1 -> 0.3.2
Diff: https://github.com/EricLBuehler/mistral.rs/compare/refs/tags/v0.3.1...v0.3.2

Changelog: https://github.com/EricLBuehler/mistral.rs/releases/tag/v0.3.2
2024-10-29 09:43:25 +01:00
Gaetan Lepage
af61785ba3 mistral-rs: 0.3.0 -> 0.3.1
Diff: https://github.com/EricLBuehler/mistral.rs/compare/refs/tags/v0.3.0...v0.3.1

Changelog: https://github.com/EricLBuehler/mistral.rs/releases/tag/v0.3.1
2024-09-29 20:07:36 +02:00
Artturin
63fa53d97c treewide: reformat files which need reformatting after
`treewide: replace stdenv.is with stdenv.hostPlatform.is`
2024-09-25 00:04:39 +03: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
Gaetan Lepage
113a9e9f21 mistral-rs: 0.1.18 -> 0.3.0
Diff:
https://github.com/EricLBuehler/mistral.rs/compare/refs/tags/v0.1.18...v0.3.0

Changelog:
https://github.com/EricLBuehler/mistral.rs/releases/tag/v0.3.0
2024-09-02 22:33:59 +02:00
Gaetan Lepage
e02af181fc mistral-rs: init at 0.1.18 2024-06-30 23:40:37 +02:00