Commit Graph

7 Commits

Author SHA1 Message Date
Robert Schütz
ac8ab28c74 mollysocket: 1.5.1 -> 1.5.2
Diff: https://github.com/mollyim/mollysocket/compare/1.5.1...1.5.2

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.2
2024-11-11 11:39:28 -08:00
Robert Schütz
db2dcfb6f7 mollysocket: 1.4.1 -> 1.5.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.1...1.5.1

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.5.1
2024-10-26 21:58:15 -07: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
Robert Schütz
5be6d6203b mollysocket: 1.4.0 -> 1.4.1
Diff: https://github.com/mollyim/mollysocket/compare/1.4.0...1.4.1

Changelog: https://github.com/mollyim/mollysocket/releases/tag/1.4.1
2024-08-18 10:47:16 -07:00
R. Ryantm
5b6a12e96e mollysocket: 1.3.0 -> 1.4.0 2024-05-22 02:09:34 +00:00
Robert Schütz
078994248a nixos/mollysocket: init 2024-03-28 09:55:10 -07:00
Robert Schütz
d39618aa2d mollysocket: init at 1.3.0 2024-03-26 22:07:29 -07:00