Commit Graph

17 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
30931fd4ee platformsh: 5.0.22 -> 5.0.23 2024-12-09 17:25:03 +00:00
R. RyanTM
81b60beebf
platformsh: 5.0.21 -> 5.0.22 (#346821) 2024-10-06 12:09:58 +02:00
R. Ryantm
7da0c81147 platformsh: 5.0.20 -> 5.0.21 2024-09-28 17:04:49 +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
387b6266f1 platformsh: 5.0.19 -> 5.0.20 2024-09-17 17:41:02 +00:00
R. Ryantm
27799a0844 platformsh: 5.0.18 -> 5.0.19 2024-08-18 10:06:15 +00:00
R. Ryantm
89bc23e23b platformsh: 5.0.16 -> 5.0.18 2024-08-11 06:32:47 +00:00
Laurent Arnoud
9c5852513f
platformsh: add updateScript 2024-07-30 15:15:18 +02:00
Trent Steel
2140bea8dc
platformsh: 5.0.13 -> 5.0.15 2024-07-09 21:43:08 +10: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
Soner Sayakci
b099794398
platformsh: fix build 2024-05-18 09:46:07 +02:00
Trent Steel
11e79abb40
platformsh: 4.17.0 -> 5.0.13 (#309681)
* Upgrade platform.sh-cli

* Fix typo

* Update package.nix

* Update package.nix

* Update hashes

* Update hashes

* Update pkgs/by-name/pl/platformsh/package.nix

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>

---------

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
2024-05-18 00:43:21 +08:00
Laurent Arnoud
6a10a5f509
platformsh: add spk as maintainer 2024-03-28 11:34:44 +01:00
Laurent Arnoud
ba6a6b548d
platformsh: 4.11.4 -> 4.17.0 2024-03-28 11:34:44 +01:00
suntropez
4c16b1d265 platformsh: 4.10.0 -> 4.11.4 2023-12-11 14:49:28 -03:00
Elis Hirwing
c3b9ae0547
platformsh: 3.79.2 -> 4.10.0
Also:
- Follow the rename of the repository
- Switch to the new composer builder
2023-09-17 15:07:02 +02:00