tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
afio: darwin build
Stanisław Pitucha
2 years ago
5fe89bc9
55817531
+15
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
archivers
afio
default.nix
+15
-6
pkgs/tools/archivers/afio/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub } :
1
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch } :
2
2
3
3
stdenv.mkDerivation rec {
4
4
version = "2.5.2";
···
11
11
sha256 = "1vbxl66r5rp5a1qssjrkfsjqjjgld1cq57c871gd0m4qiq9rmcfy";
12
12
};
13
13
14
14
-
/*
15
15
-
* A patch to simplify the installation and for removing the
16
16
-
* hard coded dependency on GCC.
17
17
-
*/
18
18
-
patches = [ ./0001-makefile-fix-installation.patch ];
14
14
+
patches = [
15
15
+
/*
16
16
+
* A patch to simplify the installation and for removing the
17
17
+
* hard coded dependency on GCC.
18
18
+
*/
19
19
+
./0001-makefile-fix-installation.patch
20
20
+
21
21
+
# fix darwin build (include headers)
22
22
+
(fetchpatch {
23
23
+
url = "https://github.com/kholtman/afio/pull/18/commits/a726614f99913ced08f6ae74091c56969d5db210.patch";
24
24
+
name = "darwin-headers.patch";
25
25
+
hash = "sha256-pK8mN29fC2mL4B69Fv82dWFIQMGwquyl825OBDTxzpo=";
26
26
+
})
27
27
+
];
19
28
20
29
installFlags = [ "DESTDIR=$(out)" ];
21
30