Commit Graph

21 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
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
Ashish SHUKLA
2fac910347
tailscale-nginx-auth: switch to Go 1.23 2024-09-14 14:18:05 +05:30
Sandro Jäckel
f8cbb648de
tailscale: test tailscale-nginx-auth 2024-07-09 16:08:22 +02:00
Sandro Jäckel
56e5ab1eaa
tailscale-nginx-auth: re-use most from tailscale package 2024-07-04 15:02:46 +02:00
R. Ryantm
d8e2ce4f8b tailscale-nginx-auth: 1.68.0 -> 1.68.1 2024-06-21 05:13:10 +00:00
R. Ryantm
5dd2da7471 tailscale-nginx-auth: 1.66.4 -> 1.68.0 2024-06-13 02:59:41 +00:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
R. Ryantm
20b75abc29 tailscale-nginx-auth: 1.66.3 -> 1.66.4 2024-05-21 02:44:28 +00:00
R. Ryantm
f935c6fb2a tailscale-nginx-auth: 1.66.0 -> 1.66.3 2024-05-15 21:29:43 +00:00
R. Ryantm
b08c048a0a tailscale-nginx-auth: 1.64.2 -> 1.66.0 2024-05-09 03:25:21 +00:00
Weijia Wang
b5347a59d8
Merge pull request #305567 from r-ryantm/auto-update/tailscale-nginx-auth
tailscale-nginx-auth: 1.64.0 -> 1.64.2
2024-04-27 04:43:15 +02:00
Dave Anderson
308cb342c9 maintainers: drop danderson 2024-04-26 11:36:50 -07:00
R. Ryantm
77bbfbd498 tailscale-nginx-auth: 1.64.0 -> 1.64.2 2024-04-20 15:03:43 +00:00
R. Ryantm
7533dac2b1 tailscale-nginx-auth: 1.62.1 -> 1.64.0 2024-04-14 02:37:10 +00:00
R. Ryantm
613c2ddc6f tailscale-nginx-auth: 1.62.0 -> 1.62.1 2024-04-02 20:04:09 +00:00
R. Ryantm
cd5d14d96f tailscale-nginx-auth: 1.58.2 -> 1.62.0 2024-03-25 03:37:19 +00:00
R. Ryantm
f981661642 tailscale-nginx-auth: 1.58.0 -> 1.58.2 2024-01-27 23:40:34 +00:00
R. Ryantm
8effa19060 tailscale-nginx-auth: 1.56.1 -> 1.58.0 2024-01-22 07:48:21 +00:00
R. Ryantm
319b988c3e tailscale-nginx-auth: 1.48.2 -> 1.56.1 2023-12-24 11:34:10 +00:00
phaer
1a6db25b7a tailscale-nginx-auth: init at 1.48.2
https://github.com/tailscale/tailscale/tree/main/cmd/nginx-auth

is a utility in the tailscale repo allowing users to delegate nginx request authorization to a tailscale daemon running on the same host.
2023-12-06 20:57:38 +01:00