tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Reduce dependency bloat
Eelco Dolstra
10 years ago
fcf99efc
49705744
+1
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
libffi
default.nix
+1
-5
pkgs/development/libraries/libffi/default.nix
···
1
1
-
{ fetchurl, stdenv, dejagnu }:
1
1
+
{ fetchurl, stdenv }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "libffi-3.2.1";
···
10
10
11
11
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
12
12
13
13
-
buildInputs = stdenv.lib.optional doCheck dejagnu;
14
14
-
15
13
configureFlags = [
16
14
"--with-gcc-arch=generic" # no detection of -march= or -mtune=
17
15
"--enable-pax_emutramp"
18
16
];
19
19
-
20
20
-
doCheck = stdenv.isLinux; # until we solve dejagnu problems on darwin and expect on BSD
21
17
22
18
dontStrip = stdenv ? cross; # Don't run the native `strip' when cross-compiling.
23
19