Commit Graph

10 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
Doron Behar
2c40948c73 nixosTests.taskchampion-sync-server: init 2024-08-14 08:06:11 +03:00
Doron Behar
e03dc36a26 taskwarrior3: small formatting fixes & add doronbehar to maintainers
Use nixfmt-rfc-style to format it in addition to manual `with <>;`
removals.
2024-08-12 11:06:03 +03:00
aktaboot
1f620252b7
taskwarrior3: 3.0.2 -> 3.1.0 2024-08-06 14:07:03 -04:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
h7x4
7384b9abdc
treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
Mohamed Laradji
7d7a9f6990
taskwarrior3: 3.0.1 -> 3.0.2
https://github.com/GothenburgBitFactory/taskwarrior/releases/tag/v3.0.2
2024-04-27 10:04:14 -04:00
Mohamed Laradji
e413f82e05
taskwarrior3: 3.0.0-unstable-2024-04-07 -> 3.0.1
https://github.com/GothenburgBitFactory/taskwarrior/releases/tag/v3.0.1
2024-04-27 09:54:52 -04:00
Imran Iqbal
22b81dd057 taskwarrior3: fix builds on darwin
Currently when trying to build on darwin the following error is raised:

> ld: framework not found Security

When the Security framework is added as an input to the build, it next
fails on:

> ld: framework not found SystemConfiguration

Once both of these are added as inputs the build passes and the
resulting binary can be used to access/manipulate the task db.
2024-04-24 20:46:39 -04:00
Mohamed Laradji
fc816c6730
taskwarrior3: init at 3.0.0-unstable-2024-04-07 2024-04-13 12:24:32 -04:00