tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
cromfs: use default gcc
Robin Gloster
9 years ago
9cbb7448
f0b53ac2
+5
-5
1 changed file
expand all
collapse all
unified
split
pkgs
tools
archivers
cromfs
default.nix
+5
-5
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
# 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 ];
25
26
meta = {
27
description = "FUSE Compressed ROM filesystem with lzma";