Commit Graph

9 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
Sandro Jäckel
d50e23f0a4
glxinfo: replace with mesa-demos 2024-08-28 14:38:12 +02:00
Martin Joerg
4494b6d93e quickemu: 4.9.5 -> 4.9.6
https://github.com/quickemu-project/quickemu/releases/tag/4.9.6
https://github.com/quickemu-project/quickemu/compare/4.9.5...4.9.6
2024-07-17 09:17:25 +00:00
Michael Adler
9604aba3f6 quickemu: fix Samba shares
This makes it possible to share your home dir with a Windows guest.

* use `qemu_full` for the correct smbd path; the fallback path `/usr/sbin/smbd` fails on NixOS [1]
* make the `smbd` binary available to quickemu, enabling it to start qemu with Samba support [2]

[1] 28b8a57ad6/meson.build (L2217)
[2] 626591bca8/quickemu (L1083)
2024-07-03 08:58:10 +02:00
Pyrox
75b45fc1d7
quickemu: 4.9.4-unstable-2024-05-28 -> 4.9.5 2024-06-28 16:54:06 -04:00
Ali Rizvi
27749da4f7
quickemu: 4.9.4 -> 4.9.4-unstable-2024-05-28 2024-06-22 01:40:14 -04:00
éclairevoyant
1fe0639a8b
quickemu: decrease windows ram requirements 2024-06-02 18:45:43 -04:00
éclairevoyant
9e2b80d4de
quickemu: format with nixfmt-rfc-style 2024-06-02 18:42:02 -04:00
Martin Wimpress
49d656d258
quickemu: 4.9.2 -> 4.9.4 2024-05-10 00:06:13 +01:00