mitigations: pin mopidy
pinned to some random version from several months ago because of bug that causes playback freezing
This commit is contained in:
parent
d2f48215ed
commit
5352c4ee97
17
flake.lock
generated
17
flake.lock
generated
@ -1179,6 +1179,22 @@
|
|||||||
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
|
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-mopidy": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1734856068,
|
||||||
|
"narHash": "sha256-Q+CB1ajsJg4Z9HGHTBAGY1q18KpnnkmF/eCTLUY6FQ0=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "93ff48c9be84a76319dac293733df09bbbe3f25c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "93ff48c9be84a76319dac293733df09bbbe3f25c",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs-nix-du": {
|
"nixpkgs-nix-du": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722785290,
|
"lastModified": 1722785290,
|
||||||
@ -1335,6 +1351,7 @@
|
|||||||
"nix-wsl": "nix-wsl",
|
"nix-wsl": "nix-wsl",
|
||||||
"nixfiles-assets": "nixfiles-assets",
|
"nixfiles-assets": "nixfiles-assets",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"nixpkgs-mopidy": "nixpkgs-mopidy",
|
||||||
"nixpkgs-nix-du": "nixpkgs-nix-du",
|
"nixpkgs-nix-du": "nixpkgs-nix-du",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"rust-overlay": "rust-overlay_2",
|
"rust-overlay": "rust-overlay_2",
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
nixpkgs-nix-du.url = "github:NixOS/nixpkgs/c933cf4698e5189b35dd83bf4d7a81aef16d464a";
|
nixpkgs-nix-du.url = "github:NixOS/nixpkgs/c933cf4698e5189b35dd83bf4d7a81aef16d464a";
|
||||||
|
nixpkgs-mopidy.url = "github:NixOS/nixpkgs/93ff48c9be84a76319dac293733df09bbbe3f25c";
|
||||||
|
|
||||||
# this seems to be a popular way to declare systems
|
# this seems to be a popular way to declare systems
|
||||||
systems.url = "github:nix-systems/default";
|
systems.url = "github:nix-systems/default";
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
pkgsStable = import nixfiles.inputs.nixpkgs.outPath {inherit (prev) system;};
|
pkgsStable = import nixfiles.inputs.nixpkgs.outPath {inherit (prev) system;};
|
||||||
updateTime = nixfiles.inputs.nixpkgs-unstable.lastModified;
|
updateTime = nixfiles.inputs.nixpkgs-unstable.lastModified;
|
||||||
|
|
||||||
inherit (final) lib callPackage fetchFromGitHub;
|
inherit (final) callPackage fetchFromGitHub;
|
||||||
inherit
|
inherit
|
||||||
(lib)
|
(lib)
|
||||||
recurseIntoAttrs
|
recurseIntoAttrs
|
||||||
@ -55,7 +55,8 @@
|
|||||||
prev.gimp-with-plugins.override {inherit plugins;};
|
prev.gimp-with-plugins.override {inherit plugins;};
|
||||||
# this also causes an infinite recursion and i have no idea why
|
# this also causes an infinite recursion and i have no idea why
|
||||||
# in nixfiles.inputs.nixpkgs.lib.filterAttrs (k: v: v != null) {
|
# in nixfiles.inputs.nixpkgs.lib.filterAttrs (k: v: v != null) {
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
nix-du = let
|
nix-du = let
|
||||||
old = prev.nix-du;
|
old = prev.nix-du;
|
||||||
new = (pkgsFromInput "nixpkgs-nix-du").nix-du;
|
new = (pkgsFromInput "nixpkgs-nix-du").nix-du;
|
||||||
@ -83,7 +84,42 @@
|
|||||||
inherit (prev) redlib;
|
inherit (prev) redlib;
|
||||||
in
|
in
|
||||||
pickNewer redlib-new redlib;
|
pickNewer redlib-new redlib;
|
||||||
};
|
}
|
||||||
|
// (
|
||||||
|
lib.genAttrs [
|
||||||
|
"mopidyPackages"
|
||||||
|
"mopidy"
|
||||||
|
"mopidy-bandcamp"
|
||||||
|
"mopidy-iris"
|
||||||
|
"mopidy-jellyfin"
|
||||||
|
"mopidy-local"
|
||||||
|
"mopidy-moped"
|
||||||
|
"mopidy-mopify"
|
||||||
|
"mopidy-mpd"
|
||||||
|
"mopidy-mpris"
|
||||||
|
"mopidy-muse"
|
||||||
|
"mopidy-musicbox-webclient"
|
||||||
|
"mopidy-notify"
|
||||||
|
"mopidy-podcast"
|
||||||
|
"mopidy-scrobbler"
|
||||||
|
"mopidy-somafm"
|
||||||
|
"mopidy-soundcloud"
|
||||||
|
"mopidy-spotify"
|
||||||
|
"mopidy-subidy"
|
||||||
|
"mopidy-tidal"
|
||||||
|
"mopidy-tunein"
|
||||||
|
"mopidy-youtube"
|
||||||
|
"mopidy-ytmusic"
|
||||||
|
] (name: let
|
||||||
|
pkgs-mopidy = (import inputs.nixpkgs-mopidy) {};
|
||||||
|
unstable = prev."${name}";
|
||||||
|
stable = pkgs-mopidy."${name}";
|
||||||
|
now = 1740786429;
|
||||||
|
in
|
||||||
|
# pin for at least 90 days because who knows when this will be fixed
|
||||||
|
# https://github.com/mopidy/mopidy/issues/2183
|
||||||
|
hold now 90 stable unstable)
|
||||||
|
);
|
||||||
in {
|
in {
|
||||||
config.flake.overlays.mitigations = overlay;
|
config.flake.overlays.mitigations = overlay;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user