forked from jan-leila/nix-config
		
	fix: fixed mapillary build
This commit is contained in:
		
							parent
							
								
									488ef1e94a
								
							
						
					
					
						commit
						62bb650878
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -9,7 +9,7 @@ | |||
|   src = fetchurl { | ||||
|     url = "http://tools.mapillary.com/uploader/download/linux/${version}"; | ||||
|     name = "mapillary-uploader.AppImage"; | ||||
|     sha256 = "sha256-Oyx7AIdA/2mwBaq7UzXOoyq/z2SU2sViMN40sY2RCQw="; | ||||
|     sha256 = "sha256-OY3SiMHUyjwPDrPWfa+mFg2BHZrz6GG/9/D5sCP2Da8="; | ||||
|   }; | ||||
| 
 | ||||
|   appimageContents = appimageTools.extractType2 { | ||||
|  | @ -23,9 +23,6 @@ in | |||
|       # Install desktop file | ||||
|       install -Dm644 ${appimageContents}/mapillary-desktop-uploader.desktop $out/share/applications/mapillary-uploader.desktop | ||||
| 
 | ||||
|       # Install icon | ||||
|       install -Dm644 ${appimageContents}/usr/share/icons/hicolor/0x0/apps/mapillary-desktop-uploader.png $out/share/pixmaps/mapillary-uploader.png | ||||
| 
 | ||||
|       # Fix desktop file paths | ||||
|       substituteInPlace $out/share/applications/mapillary-uploader.desktop \ | ||||
|         --replace 'Exec=AppRun' 'Exec=${pname}' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue