update flake inputs

This commit is contained in:
ulic-youthlic 2025-05-25 23:28:27 +08:00
parent 227441f5d6
commit 5844040624
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
2 changed files with 57 additions and 54 deletions

View file

@ -3,9 +3,7 @@
srcs,
}: let
inherit (srcs) spotx;
in
pkgs.spotify.overrideAttrs (final: prev: {
version = prev.version + "_spotx-${spotx.version}";
spotifyx = pkgs.spotify.overrideAttrs (final: prev: {
nativeBuildInputs =
prev.nativeBuildInputs
++ (with pkgs; [
@ -22,4 +20,9 @@ in
postInstall = ''
./spotx.sh -P $out/share/spotify -h
'';
})
});
in
pkgs.symlinkJoin {
name = "spotifyx";
paths = [spotifyx];
}