xastir: fix build

+11 -12
+11 -12
pkgs/applications/misc/xastir/default.nix
··· 4 4 , perl, proj, rastermagick, shapelib 5 5 }: 6 6 7 - let 7 + stdenv.mkDerivation rec { 8 + name = "xastir-${version}"; 8 9 version = "208"; 9 - in 10 - stdenv.mkDerivation { 11 - name = "xastir-"+version; 12 10 13 11 src = fetchFromGitHub { 14 12 owner = "Xastir"; ··· 17 15 sha256 = "1mm22vn3hws7dmg9wpaj4s0zkzb77i3aqa2ay3q6kqjkdhv25brl"; 18 16 }; 19 17 20 - buildInputs = 21 - [ autoreconfHook 22 - curl db gdal libgeotiff 23 - libXpm libXt motif pcre 24 - perl proj rastermagick shapelib 25 - ]; 18 + buildInputs = [ 19 + autoreconfHook 20 + curl db gdal libgeotiff 21 + libXpm libXt motif pcre 22 + perl proj rastermagick shapelib 23 + ]; 24 + 25 + configureFlags = [ "--with-motif-includes=${motif}/include" ]; 26 26 27 - configureFlags = 28 - [ "--with-motif-includes=${motif}/include" ]; 27 + postPatch = "patchShebangs ."; 29 28 30 29 meta = with stdenv.lib; { 31 30 description = "Graphical APRS client";