Commit Graph

14 Commits

Author SHA1 Message Date
R. Ryantm
f1a96b5bd6 nsc: 2.8.9 -> 2.9.0 2024-09-27 05:00:37 +00: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
R. Ryantm
b9d465144a nsc: 2.8.8 -> 2.8.9 2024-09-15 13:17:43 +00:00
R. Ryantm
c585a85e49 nsc: 2.8.7 -> 2.8.8 2024-09-13 02:17:44 +02:00
R. Ryantm
3ec1b0472c nsc: 2.8.6 -> 2.8.7 2024-08-23 17:26:16 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
1993348de9 nsc: 2.8.5 -> 2.8.6 2024-03-08 01:31:03 +00:00
R. Ryantm
9093c92169 nsc: 2.8.1 -> 2.8.5 2023-11-18 05:50:20 +00:00
Connor Brewster
47a059731e nsc: disable check phase on darwin
nsc is currently marked as broken on darwin because it's check phase
does not pass. However, it builds and works fine.

The check phase failure is due to a test in nsc stripping `-` from some
test output to remove some table formatting. This accidentally removes
`-` in a filesystem path and makes a test fail that expects the output
to contain a specific path.

This should be fixed upstream in nsc, but no need to mark darwin as
broken when it actually does build and work okay.
2023-10-04 17:44:53 -05:00
R. Ryantm
2253b03e84 nsc: 2.8.0 -> 2.8.1 2023-09-30 00:07:39 +00:00
R. Ryantm
64aa0b2565 nsc: 2.7.8 -> 2.8.0 2023-03-18 08:13:26 +00:00
R. Ryantm
50a8ff08df nsc: 2.7.6 -> 2.7.8 2023-03-04 22:11:20 +00:00
Connor Brewster
4816e023d1 nsc: add shell completion 2023-02-23 12:16:40 -06:00
Connor Brewster
d897ab40f2 nsc: init at 2.7.6 2023-02-20 20:50:54 -06:00