about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-08-24 21:24:04 +0000
committerRobin Gloster <mail@glob.in>2016-08-24 22:41:41 +0000
commit9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e (patch)
tree8fd2101169c8f9701eb0b705c1fa9dc5596e6ab8
parentf0b53ac245d6d983595d8ee8f627831dbcf58718 (diff)
downloadnixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.tar
nixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.tar.gz
nixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.tar.bz2
nixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.tar.lz
nixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.tar.xz
nixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.tar.zst
nixlib-9cbb74484c5525e0009b84ebfd6944e4d9c8ad4e.zip
cromfs: use default gcc
-rw-r--r--pkgs/tools/archivers/cromfs/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/archivers/cromfs/default.nix b/pkgs/tools/archivers/cromfs/default.nix
index cd151698f250..23aa02bcac7f 100644
--- a/pkgs/tools/archivers/cromfs/default.nix
+++ b/pkgs/tools/archivers/cromfs/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchurl, pkgconfig, fuse, perl, gcc48 }:
+{ stdenv, fetchurl, pkgconfig, fuse, perl }:
 
 stdenv.mkDerivation rec {
   name = "cromfs-1.5.10.2";
-  
+
   src = fetchurl {
     url = "http://bisqwit.iki.fi/src/arch/${name}.tar.bz2";
     sha256 = "0xy2x1ws1qqfp7hfj6yzm80zhrxzmhn0w2yns77im1lmd2h18817";
   };
 
-  patchPhase = ''sed -i 's@/bin/bash@/bin/sh@g' configure'';
+  postPatch = "patchShebangs configure";
 
   # Removing the static linking, as it doesn't compile in x86_64.
   makeFlags = "cromfs-driver util/mkcromfs util/unmkcromfs util/cvcromfs";
-  
+
   installPhase = ''
     install -d $out/bin
     install cromfs-driver $out/bin
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     install util/unmkcromfs $out/bin
   '';
 
-  buildInputs = [ pkgconfig fuse perl gcc48 ];
+  buildInputs = [ pkgconfig fuse perl ];
 
   meta = {
     description = "FUSE Compressed ROM filesystem with lzma";