Commit Graph

29 Commits

Author SHA1 Message Date
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
R. Ryantm
7bdb5641a3 pmtiles: 1.22.1 -> 1.22.2 2024-12-06 16:11:07 +00:00
Philip Taron
e2f8979c61
pmbootstrap: 2.3.1 > 3.0.0 (#355579) 2024-11-25 09:28:51 -08:00
Markus Kowalewski
998d697689 pmix: 5.0.3 -> 5.0.4 2024-11-13 17:59:00 +01:00
Bit Borealis
625c8e4ce8
pmbootstrap: 2.3.1 > 3.0.0 2024-11-12 22:38:08 -05:00
OPNA2608
98cf6cd0b5 pmars,pmars-x11: init at 0.9.4 2024-11-12 20:45:11 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
R. Ryantm
67913a7e7d pmtiles: 1.22.0 -> 1.22.1 2024-10-25 09:00:26 +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
e2e1502156 pmtiles: 1.21.0 -> 1.22.0 2024-09-22 07:54:41 +00:00
R. Ryantm
0de0b9d7a2 pmtiles: 1.20.0 -> 1.21.0 2024-09-10 01:31:44 +00:00
Ivan Mincik
f0d9cf51c0 pmtiles: add geospatial team as maintainer
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-09-06 08:41:37 +02:00
Matteo Pacini
380e272be1 pmbootstrap: fix darwin build 2024-08-23 16:51:16 +01:00
R. Ryantm
c4fefcef6d pm2: 5.4.1 -> 5.4.2 2024-07-08 14:17:46 +00:00
R. Ryantm
69dbcc3f6e pm2: 5.4.0 -> 5.4.1 2024-06-18 14:01:02 +00:00
R. Ryantm
db1f59ac70 pmtiles: 1.19.2 -> 1.20.0 2024-06-11 15:00:56 +00:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
R. Ryantm
91623e333c pmtiles: 1.19.1 -> 1.19.2 2024-05-29 04:15:18 +00:00
lucasew
8c2fdaefb3 pmbootstrap: 2.2.0 -> 2.3.1
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-27 10:33:25 -03:00
lucasew
4d782724f8 pmbootstrap: add lucasew as maintainer
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-27 10:33:24 -03:00
lucasew
3a3f6e1288 pmbootstrap: move to by-name, add update script
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-05-27 10:33:22 -03:00
R. Ryantm
37ca6684af pm2: 5.3.1 -> 5.4.0 2024-05-24 15:16:01 +00:00
R. Ryantm
eeaf1e7ace pmtiles: 1.17.0 -> 1.19.1 2024-03-20 09:12:57 +00:00
R. Ryantm
d8b6ea0567 pmtiles: 1.14.1 -> 1.17.0 2024-02-15 21:15:07 +00:00
R. Ryantm
2c167d5caf pmtiles: 1.14.0 -> 1.14.1 2024-02-08 07:19:52 +00:00
R. Ryantm
49e9e6ed07 pmtiles: 1.13.0 -> 1.14.0 2024-01-29 04:34:50 +00:00
Robert Schütz
425cfc42bd pm2: use buildNpmPackage 2024-01-22 08:51:50 -08:00
R. Ryantm
0a28604b51 pmtiles: 1.12.0 -> 1.13.0 2024-01-20 02:42:04 +00:00
Thea Schöbl
250f6d5bbd
pmtiles: init at 1.12.0 2024-01-13 11:57:46 +01:00