Commit Graph

13 Commits

Author SHA1 Message Date
R. Ryantm
a6840cffbb slumber: 2.0.0 -> 2.1.0 2024-10-04 07:02:11 +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
b50abbbe4e slumber: 1.8.1 -> 2.0.0 2024-09-08 02:32:13 +00:00
Fabian Affolter
c9b5a62401 slumber: 1.5.0 -> 1.8.1
Diff: https://github.com/LucasPickering/slumber/compare/refs/tags/v1.5.0...v1.8.1

Changelog: https://github.com/LucasPickering/slumber/blob/v1.8.1/CHANGELOG.md
2024-08-25 14:57:10 +02:00
Jan van Esdonk
42e2639580 slumber: 1.4.0 -> 1.5.0 2024-06-18 11:15:23 +02:00
R. Ryantm
fb69db9330 slumber: 1.3.2 -> 1.4.0 2024-06-12 07:41:28 +00:00
Jan van Esdonk
c553c2c39f slumber: 1.3.1 -> 1.3.2 2024-05-27 15:22:22 +02:00
Jan van Esdonk
7f4adaafb3 slumber: 1.3.0 -> 1.3.1 2024-05-21 10:12:49 +02:00
Jan van Esdonk
7748f2ad0c slumber: 1.2.1 -> 1.3.0 2024-05-18 00:18:16 +02:00
Jan van Esdonk
77b969d2f3
slumber: 1.1.0 -> 1.2.1 (#310994)
Co-authored-by: Jan van Esdonk <jan+dev@vanesdonk.de>
2024-05-12 21:57:02 +00:00
Alexis Hildebrandt
feb804804e slumber: fix darwin build 2024-05-07 17:25:08 +02:00
R. Ryantm
8cb0b06ed7 slumber: 1.0.1 -> 1.1.0 2024-05-05 14:47:41 +00:00
Jan van Esdonk
05a9efb7d7 slumber: init at 1.0.1 2024-05-02 17:07:25 +07:00