@@ -1,18 +1,18 @@
1−{ stdenv, fetchurl, pkgconfig, fuse, perl, gcc48 }:
1+{ stdenv, fetchurl, pkgconfig, fuse, perl }:
22
33stdenv.mkDerivation rec {
44 name = "cromfs-1.5.10.2";
5−
5+
66 src = fetchurl {
77 url = "http://bisqwit.iki.fi/src/arch/${name}.tar.bz2";
88 sha256 = "0xy2x1ws1qqfp7hfj6yzm80zhrxzmhn0w2yns77im1lmd2h18817";
99 };
1010
11− patchPhase = ''sed -i 's@/bin/bash@/bin/sh@g' configure'';
11+ postPatch = "patchShebangs configure";
1212
1313 # Removing the static linking, as it doesn't compile in x86_64.
1414 makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs";
15−
15+
1616 installPhase = ''
1717 install -d $out/bin
1818 install cromfs-driver $out/bin
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 install util/unmkcromfs $out/bin
2222 '';
2323
24− buildInputs = [ pkgconfig fuse perl gcc48 ];
24+ buildInputs = [ pkgconfig fuse perl ];
2525
2626 meta = {
2727 description = "FUSE Compressed ROM filesystem with lzma";