fix: remove broken spotify patch
This commit is contained in:
parent
30487353cb
commit
cc7d570681
@ -49,33 +49,6 @@ in
|
|||||||
sing-box = final.sing-box-extended;
|
sing-box = final.sing-box-extended;
|
||||||
wine = prev.wineWow64Packages.stagingFull;
|
wine = prev.wineWow64Packages.stagingFull;
|
||||||
|
|
||||||
# Patch spotify with spotx
|
|
||||||
spotify = prev.spotify.overrideAttrs (
|
|
||||||
oa:
|
|
||||||
let
|
|
||||||
spotx = prev.fetchurl {
|
|
||||||
url = "https://raw.githubusercontent.com/SpotX-Official/SpotX-Bash/b1de24ec4c23c45da373dcb64a44e372253a0c16/spotx.sh";
|
|
||||||
hash = "sha256-/p6cJKzaZzjcLJISFudstQjs+lPXnXx4f0vxKbF9Sqw=";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
nativeBuildInputs =
|
|
||||||
oa.nativeBuildInputs
|
|
||||||
++ (with prev; [
|
|
||||||
perl
|
|
||||||
unzip
|
|
||||||
util-linux
|
|
||||||
zip
|
|
||||||
]);
|
|
||||||
postUnpack = oa.postUnpack or "" + ''
|
|
||||||
patchShebangs --build ${spotx}
|
|
||||||
'';
|
|
||||||
postInstall = oa.postInstall or "" + ''
|
|
||||||
bash ${spotx} -f -h -P "$out/share/spotify"
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
# Move modprobed config to subdir. Easier to use with impermanence
|
# Move modprobed config to subdir. Easier to use with impermanence
|
||||||
modprobed-db = prev.modprobed-db.overrideAttrs (oa: {
|
modprobed-db = prev.modprobed-db.overrideAttrs (oa: {
|
||||||
nativeBuildInputs = [ prev.makeWrapper ] ++ oa.nativeBuildInputs or [ ];
|
nativeBuildInputs = [ prev.makeWrapper ] ++ oa.nativeBuildInputs or [ ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user