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
-
{ fetchurl, stdenv, dejagnu }:
2
3
stdenv.mkDerivation rec {
4
name = "libffi-3.2.1";
···
10
11
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
12
13
-
buildInputs = stdenv.lib.optional doCheck dejagnu;
14
-
15
configureFlags = [
16
"--with-gcc-arch=generic" # no detection of -march= or -mtune=
17
"--enable-pax_emutramp"
18
];
19
-
20
-
doCheck = stdenv.isLinux; # until we solve dejagnu problems on darwin and expect on BSD
21
22
dontStrip = stdenv ? cross; # Don't run the native `strip' when cross-compiling.
23
···
1
+
{ fetchurl, stdenv }:
2
3
stdenv.mkDerivation rec {
4
name = "libffi-3.2.1";
···
10
11
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
12
0
0
13
configureFlags = [
14
"--with-gcc-arch=generic" # no detection of -march= or -mtune=
15
"--enable-pax_emutramp"
16
];
0
0
17
18
dontStrip = stdenv ? cross; # Don't run the native `strip' when cross-compiling.
19