tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cabextract: support cross-compilation
Rick van Schijndel
4 years ago
e4cbd7d9
c32fa3f1
+6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
archivers
cabextract
default.nix
+6
pkgs/tools/archivers/cabextract/default.nix
···
9
9
sha256 = "19qwhl2r8ip95q4vxzxg2kp4p125hjmc9762sns1dwwf7ikm7hmg";
10
10
};
11
11
12
12
+
# Let's assume that fnmatch works for cross-compilation, otherwise it gives an error:
13
13
+
# undefined reference to `rpl_fnmatch'.
14
14
+
configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
15
15
+
"ac_cv_func_fnmatch_works=yes"
16
16
+
];
17
17
+
12
18
meta = with lib; {
13
19
homepage = "https://www.cabextract.org.uk/";
14
20
description = "Free Software for extracting Microsoft cabinet files";