Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

cromfs: use default gcc

+5 -5
+5 -5
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 13 # Removing the static linking, as it doesn't compile in x86_64. 14 14 makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs"; 15 - 15 + 16 16 installPhase = '' 17 17 install -d $out/bin 18 18 install cromfs-driver $out/bin ··· 21 21 install util/unmkcromfs $out/bin 22 22 ''; 23 23 24 - buildInputs = [ pkgconfig fuse perl gcc48 ]; 24 + buildInputs = [ pkgconfig fuse perl ]; 25 25 26 26 meta = { 27 27 description = "FUSE Compressed ROM filesystem with lzma";