Commit Graph

13 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
iivusly
435bd5829a
spotify-qt: add to application dir on darwin
When on darwin, "spotify-qt.app" is placed inside of bin instead of Applications, thus it will not be able to be called via shell or be able to be opened though the users Applications directory. Just a quick move does the job

Update pkgs/applications/audio/spotify-qt/default.nix

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2024-06-17 12:46:57 -07:00
deviantsemicolon
3cbd4a0de0 spotify-qt: 3.9 -> 3.11 2024-04-14 19:30:31 -04:00
deviantsemicolon
28e38b1156 updated spotify-qt hash 2024-04-14 19:06:01 -04:00
deviantsemicolon
6ba3b753af updated spotify-qt version 2024-04-14 19:04:03 -04:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Sandro Jäckel
fccf04b620 treewide: replace -DCMAKE_BUILD_TYPE in cmakeFlags with cmakeBuildType 2023-09-08 14:18:26 +00:00
Karthik Iyengar
20c9a9e87d
Remove kiyengar from maintainers (#187781) 2022-08-21 23:50:03 +02:00
R. Ryantm
4c46cc0b52 spotify-qt: 3.8 -> 3.9 2022-07-30 08:04:24 +00:00
R. Ryantm
c6b4d6fa43 spotify-qt: 3.7 -> 3.8 2022-01-20 08:57:37 +00:00
R. RyanTM
00b4c55fd1 spotify-qt: 3.6 -> 3.7 2021-08-18 01:36:55 +00:00
Ana Hobden
895f68dcec spotify-qt: 3.5 -> 3.6
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2021-05-14 08:08:51 -07:00
Karthik Iyengar
8d59785746
spotify-qt: init at v3.5 (#118261)
Co-authored-by: Karthik Iyengar <hello@kiyengar.net>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-02 21:32:32 +02:00