Commit Graph

1253 Commits

Author SHA1 Message Date
Robert Schütz
543781083a treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07: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
h7x4
9a6c76c4af
treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
R. Ryantm
dda4598ca1 kaldi: 0-unstable-2024-07-25 -> 0-unstable-2024-09-16 2024-09-18 07:50:21 +00:00
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Peder Bergebakken Sundt
2a07b65b3b
mpd-notification: add systemd to buildInputs (#293883) 2024-09-17 00:45:03 +02:00
Doron Behar
823e0674ab
beets: make the autobpm plugin depend on librosa (#340185) 2024-09-16 11:38:46 +03:00
Luca Tagliavini
de18194d1e beets: make the autobpm plugin depend on librosa 2024-09-15 18:46:26 +03:00
Nick Cao
366e429f52
playerctl: enable zsh completions (#341057) 2024-09-12 19:59:43 -04:00
Weijia Wang
8ac8dd5902
kaldi: 0-unstable-2024-06-03 -> 0-unstable-2024-07-25 (#331755) 2024-09-12 23:46:35 +02:00
Anund
0097acf567 playerctl: enable zsh completions 2024-09-11 12:57:56 -06:00
R. Ryantm
a4be0b1a83 spotdl: 4.2.7 -> 4.2.8 2024-09-10 09:27:52 +00:00
Weijia Wang
0193e5dd0d
beetsPackages.alternatives: 0.11.1 -> 0.13.0 (#328811) 2024-09-09 18:33:39 +02:00
R. Ryantm
9791555cd4 spotdl: 4.2.6 -> 4.2.7 2024-08-28 00:09:51 +00:00
Robert Schütz
935008fd75 spotdl: 4.2.5 -> 4.2.6
Diff: https://github.com/spotDL/spotify-downloader/compare/refs/tags/v4.2.5...v4.2.6

Changelog: https://github.com/spotDL/spotify-downloader/releases/tag/v4.2.6
2024-08-25 13:33:16 -07:00
Emily
2c993d5173 loudgain: add patches for FFmpeg 7 and GCC 14 2024-08-20 22:33:39 +01:00
R. Ryantm
ef14f41c38 beetsPackages.alternatives: 0.11.1 -> 0.13.0 2024-08-18 18:05:19 +00:00
Robert Schütz
fe02238662 abcmidi: move to pkgs/by-name 2024-08-12 07:25:25 -07:00
Robert Schütz
49ee3147cd abcmidi: 2024.07.26 -> 2024.08.11 2024-08-12 07:23:21 -07:00
Erno Hopearuoho
eb8268e6cb goxlr-utility: 1.1.1 -> 1.1.1-unstable-2024-08-06
fixes #331319 where user expects xdg desktop entry to continue work as a launcher
hopefully also helps with #332957
2024-08-08 14:20:38 +03:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
R. Ryantm
f4de0b978b kaldi: 0-unstable-2024-06-03 -> 0-unstable-2024-07-25 2024-08-02 11:58:00 +00:00
Stanisław Pitucha
130e852f92
Merge pull request #320155 from viraptor/mpdcron-darwin
mpdcron: mark broken on darwin
2024-07-31 16:39:22 +10:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
K900
24076029d2 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-28 01:04:35 +03:00
R. Ryantm
7c884c80c6 abcmidi: 2024.06.18 -> 2024.07.26 2024-07-27 13:17:32 +00:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
K900
8e7a098243 speechd: introduce minimal variant, use it everywhere 2024-07-26 15:48:11 +03:00
Sigmanificient
6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
github-actions[bot]
31817540ee
Merge staging-next into staging 2024-07-14 18:01:37 +00:00
Aleksana
3ea85ac338
Merge pull request #326827 from Aleksanaa/trivial-sha256-fix
treewide: sha256 -> hash attribute for gitlab.com,codeberg.org fetchers
2024-07-14 22:40:25 +08:00
github-actions[bot]
0d7af056e2
Merge staging-next into staging 2024-07-14 12:02:04 +00:00
Aleksana
e8f2aabb01
Merge pull request #324767 from Sigmanificient/remove-unused-stdenv-arguments
treewide: remove unused occurence of stdenv (and other) arguments
2024-07-14 19:42:52 +08:00
Vladimír Čunát
211398c03e
Merge branch 'staging-next' into staging 2024-07-14 08:35:35 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
aleksana
07c1bc2034 treewide: sha256 -> hash attribute for pypi fetchers 2024-07-14 01:25:22 +08:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
github-actions[bot]
e14242d985
Merge staging-next into staging 2024-07-04 12:01:37 +00:00
github-actions[bot]
9cede82051
Merge master into staging-next 2024-07-04 12:01:10 +00:00
Yt
d7aac2dfd6
Merge pull request #324511 from r-ryantm/auto-update/whisper-ctranslate2
whisper-ctranslate2: 0.4.4 -> 0.4.5
2024-07-04 09:12:02 +00:00
R. Ryantm
9336e16d76 whisper-ctranslate2: 0.4.4 -> 0.4.5 2024-07-04 08:28:30 +00:00
Vladimír Čunát
44b36397c2
Merge branch 'master' into staging-next
Conflicts - GitHub wouldn't auto-resolve them but my local git did:
	pkgs/development/cuda-modules/cuda/overrides.nix
2024-07-04 10:10:22 +02:00
Someone
d5491008d9
Merge pull request #323056 from SomeoneSerge/fix/cudaPackages/outputSpecified
cudaPackages: make getOutput work again
2024-07-03 19:19:51 +00:00
aleksana
a9709c299b treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
Weijia Wang
f5a7e092f3 Merge branch 'master' into staging-next 2024-07-02 22:22:02 +02:00
h7x4
ab9aaba951
Merge pull request #323880 from r-ryantm/auto-update/darkice
darkice: 1.4 -> 1.5
2024-07-02 20:23:55 +02:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
0f56e32213
Merge pull request #319659 from jtojnar/gnome-extract
Move various packages out of gnome scope
2024-07-02 08:03:53 +02:00
Someone Serge
82018339bd treewide: cuda: use propagatedBuildInputs, lib.getOutput 2024-07-02 01:47:19 +00:00