cromfs: use default gcc

+4 -7
+4 -7
pkgs/tools/archivers/cromfs/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, fuse, perl, gcc48 }: 1 + { stdenv, fetchurl, pkgconfig, fuse, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cromfs-1.5.10.2"; 5 - 5 + 6 6 src = fetchurl { 7 7 url = "http://bisqwit.iki.fi/src/arch/${name}.tar.bz2"; 8 8 sha256 = "0xy2x1ws1qqfp7hfj6yzm80zhrxzmhn0w2yns77im1lmd2h18817"; 9 9 }; 10 10 11 - patchPhase = ''sed -i 's@/bin/bash@/bin/sh@g' configure''; 11 + postPatch = "patchShebangs configure"; 12 12 13 - # Removing the static linking, as it doesn't compile in x86_64. 14 - makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs"; 15 - 16 13 installPhase = '' 17 14 install -d $out/bin 18 15 install cromfs-driver $out/bin ··· 21 18 install util/unmkcromfs $out/bin 22 19 ''; 23 20 24 - buildInputs = [ pkgconfig fuse perl gcc48 ]; 21 + buildInputs = [ pkgconfig fuse perl ]; 25 22 26 23 meta = { 27 24 description = "FUSE Compressed ROM filesystem with lzma";