[spotify] Fix adblock config file not found
This commit is contained in:
		
							parent
							
								
									4395dc9f08
								
							
						
					
					
						commit
						2a2933c473
					
				
					 1 changed files with 5 additions and 19 deletions
				
			
		|  | @ -15,24 +15,10 @@ final: prev: { | ||||||
|       cargo |       cargo | ||||||
|       rustc |       rustc | ||||||
|     ]; |     ]; | ||||||
|   }; |  | ||||||
| #  spotify-wrapper = final.writeScriptBin "spotify-with-adblock" '' |  | ||||||
| #    #!/bin/sh |  | ||||||
| #    LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify |  | ||||||
| #  ''; |  | ||||||
| #  spotify = prev.spotify.overrideAttrs (something: rec { |  | ||||||
| #    installPhase = '' |  | ||||||
| #      echo no |  | ||||||
| #    ''; |  | ||||||
| 
 | 
 | ||||||
| #    desktopItem = something.desktopItem.override (desktop: { |     postPatch = '' | ||||||
| #      exec = "LD_PRELOAD=/usr/local/lib/spotify-adblock.so ${desktop.exec}"; |       mkdir -p $out | ||||||
| #    }); |       cp $src/config.toml $out/config.toml | ||||||
| # |     ''; | ||||||
| #    installPhase = builtins.replaceString [ |   }; | ||||||
| #      "${something.desktopItem}" |  | ||||||
| #    ] [ |  | ||||||
| #      "${desktopItem}" |  | ||||||
| #    ] something.installPhase; |  | ||||||
| #  }); |  | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue