Commit Graph

16 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
5ed29e18af miru: 5.3.1 -> 5.5.0 2024-08-25 18:55:20 +00:00
R. Ryantm
3f8bcb8b01 miru: 5.2.14 -> 5.3.1 2024-08-19 03:48:30 +00:00
R. Ryantm
4c9bdf130c miru: 5.2.7 -> 5.2.14 2024-08-11 19:45:57 +00:00
R. Ryantm
c27de0df90 miru: 5.1.6 -> 5.2.7 2024-08-03 06:46:45 +00:00
Matteo Pacini
bea3a3f50c miru: added passthru.updateScript 2024-07-16 20:55:56 +01:00
Matteo Pacini
c0a0d9a98e miru: 5.1.4 -> 5.1.6 2024-06-27 20:48:11 +01:00
Matteo Pacini
45cfa86fd3 miru: darwin support, add maintainer 2024-06-23 21:23:55 +01:00
Zhiyong (Justin) He
76832ec20f
miru: 5.1.3 -> 5.1.4 2024-06-20 16:52:18 -05:00
R. Ryantm
b51d1c7259 miru: 5.1.0 -> 5.1.3 2024-06-17 01:25:35 +00:00
R. Ryantm
70e52348e9 miru: 5.0.3 -> 5.1.0 2024-04-25 01:38:53 +00:00
Peder Bergebakken Sundt
985aa8174d treewide: unbreak appimageTools.wrapType2 builds
`appimageTools.wrapType2` no longer creates a binary `$out/bin/${name}` if `pname` and `version` is provided.
Derivations that have worked around this behavior with a `mv $out/bin/{${name},${pname}}` broke as a result.
This should fix most instances.

contex: #271071
2024-04-24 15:26:52 +02:00
Weijia Wang
07950a598e miru: update homepage 2024-03-30 20:31:04 +01:00
R. Ryantm
302eec2650 miru: 5.0.0 -> 5.0.3 2024-03-30 05:09:59 +00:00
R. Ryantm
d062126248 miru: 4.5.10 -> 5.0.0 2024-03-23 00:22:01 +00:00
Léo DUBOIN
a5949fddba miru: init at 4.5.10 2024-02-15 16:58:05 +01:00