Commit Graph

14 Commits

Author SHA1 Message Date
Guy Chronister
60c77a3dc3 _9base: switch to replace-fail 2026-04-22 08:13:45 -05:00
jopejoe1
707b78b511 _9base: add updateScript and update version according to match it 2026-01-29 22:49:38 +01:00
Moraxyc
52661f08b9 _9base: fix build with c23 2025-12-27 23:31:52 +08:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Ben Siraphob
690e6a2074 treewide: fix various descriptions to conform to style guide
- Articles at beginning of sentence
- Package names at beginning of sentence
- Final punctuation
- Capitalization
2025-07-21 10:39:47 -07:00
Guy Chronister
f2a2cfee8a treewide: refactor meta section 2025-06-21 13:12:59 +00:00
div72
d170722819 _9base: format package.nix 2025-01-09 11:33:25 +03:00
div72
ed59c747b6 _9base: fix build on x86_64-linux
The previous Darwin breakage due to p9mbtowc also happens on Linux now.
2025-01-09 11:25:43 +03:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01: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
Weijia Wang
86a86c1692 _9base: move flags to env 2024-01-21 22:14:24 +01:00
Weijia Wang
b07ef31a8b _9base: fix build on x86_64-darwin 2024-01-21 19:50:46 +01:00
06kellyjac
76afde84e7 _9base: init at unstable-2019-09-11 2023-09-29 10:43:34 +01:00