Commit Graph

17 Commits

Author SHA1 Message Date
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
a7b3104c68 ghostunnel: 1.8.0 -> 1.8.1 2024-07-07 12:20:32 +00:00
R. Ryantm
81b86a3411 ghostunnel: 1.7.3 -> 1.8.0 2024-06-20 04:25:55 +00:00
Peder Bergebakken Sundt
755d153a7a
Merge pull request #287915 from h7x4/treewide-add-main-program-4
treewide: add `mainProgram`
2024-02-15 01:45:40 +01:00
R. Ryantm
d8c17b8a68 ghostunnel: 1.7.1 -> 1.7.3 2024-02-11 11:46:07 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
Aaron Jheng
d38485921a
treewide: vendorSha256 -> vendorHash (#256514) 2023-09-21 19:11:11 +02:00
Fabian Affolter
eb11b25208
ghostunnel: add changelog to meta 2022-11-22 18:16:05 +01:00
R. Ryantm
1e6a2cfaa0 ghostunnel: 1.7.0 -> 1.7.1 2022-11-22 03:01:13 +00:00
R. Ryantm
e01db33b9a ghostunnel: 1.6.1 -> 1.7.0 2022-11-05 15:53:16 +00:00
R. Ryantm
b860755656 ghostunnel: 1.6.0 -> 1.6.1 2022-06-25 23:19:16 +00:00
Rick van Schijndel
cd3c25616d treewide: pkgs/tools: mark broken for darwin
All packages that were failing on x86_64-darwin are marked broken.
I'm assuming here that these are also broken on aarch64-darwin.
2022-05-29 10:56:04 +02:00
Sandro Jäckel
b4c40c665c
ghostunnel: format 2021-08-02 10:58:45 +02:00
Robert Hensing
9a6d7eab73 ghostunnel: Add passthru.tests.podman 2021-08-01 01:11:28 +02:00
Robert Hensing
da663a953b ghostunnel: 1.5.3 -> 1.6.0 2021-08-01 01:07:21 +02:00
Robert Hensing
dc9cb63de4 nixos/ghostunnel: init 2021-05-20 10:41:52 +02:00
Robert Hensing
76993d0b76 ghostunnel: init at 1.5.3
A simple TLS proxy with mutual authentication support
for securing non-TLS backend applications.
2021-05-20 10:41:52 +02:00