Commit Graph

13 Commits

Author SHA1 Message Date
Zhong Jianxin
e4c8127a4f moonlight-qt: fix build on x86_64-darwin
error: no member named 'aligned_alloc' in the global namespace
2024-11-22 23:24:12 +08:00
Sam Connelly
7c66fb1ec5 migrate maintainership from luc65r to clevor
They said they haven't used Nix in a while and is not interested in
maintaining cemu-ti (presumably other packages too), so I asked to take
over his role. I removed luc65r from the meta.maintainers attribtes, and
adopted the packages I wanted to adopt. I chose to adopt the TI graphing
calculator-related packages as I am part of Cemetech.
2024-11-17 14:30:20 -05:00
Zhong Jianxin
2fe2ceb07e moonlight-qt: refactor darwin support
The new darwin SDK will be automatically propagated by qt6.
2024-10-31 22:18:33 +08:00
Zhong Jianxin
bf82581fda moonlight-qt: 6.0.1 -> 6.1.0
- Bump apple sdk to 12.3 to fix build error `error: expected ';' after top level declarator`
- Use finalAttrs pattern
- Add meta.changelog
- Remove `with lib` usage

Changelog: https://github.com/moonlight-stream/moonlight-qt/releases/tag/v6.1.0
2024-10-17 20:11:50 +08: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
Edwin Mackenzie-Owen
45db886a30 moonlight-qt: add libdrm to buildInputs
Listed as build requirement in source repo's README.
Required (at least in some cases) for hardware-accelerated video
decoding to work.
2024-08-11 19:43:33 +02:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
Zhong Jianxin
52aa4beb18 moonlight-qt: upgrade to qt6 2024-07-05 09:03:23 +08:00
Zhong Jianxin
f3cf3042b9 moonlight-qt: Add myself as maintainer 2024-06-30 19:43:52 +08:00
Zhong Jianxin
40af21d0b3 moonlight-qt: 6.0.0 -> 6.0.1 2024-06-30 19:36:58 +08:00
Zhong Jianxin
a5110a69ae moonlight-qt: Add passthru.updateScript 2024-06-30 19:32:05 +08:00
Zhong Jianxin
75fe4b5039 moonlight-qt: Format using nixfmt-rfc-style and sort args 2024-06-13 19:22:21 +08:00
Zhong Jianxin
eba57e502d moonlight-qt: Move to pkgs/by-name 2024-06-13 19:17:46 +08:00