Commit Graph

11 Commits

Author SHA1 Message Date
Sefa Eyeoglu
7ba1c530ee
prismlauncher-unwrapped: 9.0 -> 9.1
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-10-24 16:41:39 +02:00
seth
af86ff668f
prismlauncher: enable checks 2024-10-20 18:29:28 -04:00
seth
4d649ff22a
prismlauncher: 8.4 -> 9.0 2024-10-20 18:24:11 -04: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
seth
94ad1c37a8
prismlauncher: use lib.cmakeFeature 2024-06-23 14:46:14 -04:00
seth
3b2969b1a5
prismlauncher: improve assertions
controllerSupport and textToSpeechSupport have no effect outside of
linux and have no reason to be set; both of these work out of the box on
darwin without any intervention from us
2024-06-23 14:43:38 -04:00
seth
ea1cf5da52
prismlauncher: add updateScript 2024-06-22 22:43:48 -04:00
seth
40581e9eed
prismlauncher: refactor
this primarily reorders arguments and items in lists, fixes the
meta-attributes of the wrapped version of the package, tidies up some
comments, and adds new ones to better explain why we do certain things
2024-06-22 22:43:22 -04:00
seth
88039bb875
prismlauncher: 8.3 -> 8.4
Diff: https://github.com/PrismLauncher/PrismLauncher/compare/8.3...8.4

Changelog: https://github.com/PrismLauncher/PrismLauncher/releases/tag/8.4
2024-06-22 22:40:15 -04:00
seth
b40318aaf7
prismlauncher: format with nixfmt 2024-06-22 22:40:13 -04:00
seth
dce34fd38b
prismlauncher: migrate to by-name 2024-06-22 22:37:19 -04:00