Commit Graph

12 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
4ec1b4b99d
simple-http-server: 0.6.8 -> 0.6.9 (#293222) 2024-03-04 08:31:25 -05:00
R. Ryantm
077b73e316 simple-http-server: 0.6.7 -> 0.6.8 2024-01-16 00:23:59 +00:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
figsoda
085203d84c simple-http-server: 0.6.6 -> 0.6.7
Diff: https://github.com/TheWaWaR/simple-http-server/compare/v0.6.6...v0.6.7

Changelog: https://github.com/TheWaWaR/simple-http-server/releases/tag/v0.6.7
2023-04-24 09:44:55 -04:00
figsoda
aa3e98ca07 simple-http-server: 0.6.5 -> 0.6.6
Diff: https://github.com/TheWaWaR/simple-http-server/compare/v0.6.5...v0.6.6

Changelog: https://github.com/TheWaWaR/simple-http-server/releases/tag/v0.6.6
2023-01-29 22:29:46 -05:00
figsoda
e04e72b552
simple-http-server: fix typo
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
2022-12-03 15:09:52 -05:00
figsoda
352e063a03 simple-http-server: 0.6.3 -> 0.6.5
Diff: https://github.com/TheWaWaR/simple-http-server/compare/v0.6.3...v0.6.5

Changelog: https://github.com/TheWaWaR/simple-http-server/tree/v0.6.5
2022-12-03 13:54:25 -05:00
figsoda
95f4d35f6d simple-http-server: 0.6.2 -> 0.6.3, remove patches
also add figsoda as a maintainer
2022-09-18 14:02:21 -04:00
Maxim Zhukov
913baaaabd simple-http-server: 0.6.1 -> 0.6.2
This commit also removes vendored openssl from Cargo.toml

Co-authored-by: Winter <winter@winter.cafe>
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2022-08-01 08:31:23 +03:00
Stéphan Kochen
71ad0ab33d simple-http-server: fix darwin build 2021-05-18 13:51:26 +02:00
Maxim Zhukov
303e476a6e simple-http-server: init at 0.6.1
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2021-04-25 16:58:29 +03:00