Commit Graph

7 Commits

Author SHA1 Message Date
Nikolay Korotkiy
87f3b08188
fittrackee: 0.8.9 → 0.8.10 2024-10-16 19:31:11 +04: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
Nikolay Korotkiy
3bf7e02a7d
fittrackee: 0.8.8 → 0.8.9 2024-09-22 19:20:01 +04:00
Robert Schütz
6367bd6796 fittrackee: 0.8.6 -> 0.8.8
Diff: https://github.com/SamR1/FitTrackee/compare/refs/tags/v0.8.6...v0.8.8

Changelog: https://github.com/SamR1/FitTrackee/blob/refs/tags/v0.8.8/CHANGELOG.md
2024-09-03 10:24:24 -07:00
Robert Schütz
d22c1f8639 fittrackee: use psycopg2-binary 2024-09-03 10:24:23 -07:00
Robert Schütz
a402cd72f9 fittrackee: format with nixfmt-rfc-style 2024-09-03 10:24:23 -07:00
Robert Schütz
389bca777e fittrackee: rename from fit-trackee
The former aligns with what the package is called on PyPI.
2024-09-03 10:23:55 -07:00