cromfs: use default gcc

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