Commit Graph

10 Commits

Author SHA1 Message Date
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00: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
jecaro
93da4cdf11 slimserver: Fix bug in scanner
The nixpkgs version of FileNext Perl package (1.18) is incompatible with
slimserver. Using it make the scanner skips most of the file. See
https://github.com/LMS-Community/slimserver/pull/1140

Using the vendor version (1.06) fixes the issue.
2024-08-14 14:15:42 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Adam Stephens
8be1155eee
slimserver: 8.5.1 -> 8.5.2 2024-06-03 23:49:40 -04:00
Adam Stephens
c41e8c361a
slimserver: update name and homepage, format 2024-04-22 12:16:21 -04:00
Adam Stephens
c2f35ad0e3
slimserver: 8.5.0 -> 8.5.1 2024-04-22 16:14:07 +00:00
Adam Stephens
b2f79605c3
slimserver: Logitech -> LMS-Community 2024-03-20 08:59:44 -04:00
Adam Stephens
e660562087
slimserver: 8.4.0 -> 8.5.0 2024-03-20 12:56:13 +00:00
Adam Stephens
b6cb26876d
slimserver: add updatescript, move to by-name 2024-03-20 08:51:27 -04:00