Fix the samrewritten.desktop Exec path.
This commit is contained in:
		
							parent
							
								
									737a920c66
								
							
						
					
					
						commit
						aced1d8cad
					
				| 
						 | 
					@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  installFlags = [ "PREFIX=$(out)" ];
 | 
					  installFlags = [ "PREFIX=$(out)" ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  postInstall = ''
 | 
				
			||||||
 | 
					    substituteInPlace "$out/share/applications/samrewritten.desktop" \
 | 
				
			||||||
 | 
					      --replace "Exec=/usr" "Exec=$out"
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  meta = with lib; {
 | 
					  meta = with lib; {
 | 
				
			||||||
    description = "Steam Achievement Manager For Linux. Rewritten in C++.";
 | 
					    description = "Steam Achievement Manager For Linux. Rewritten in C++.";
 | 
				
			||||||
    homepage = "https://github.com/PaulCombal/SamRewritten";
 | 
					    homepage = "https://github.com/PaulCombal/SamRewritten";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue