tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
boxfs: add darwin build
midchildan
4 years ago
651f214f
46789802
+5
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
boxfs
default.nix
+5
-2
pkgs/tools/filesystems/boxfs/default.nix
···
37
37
buildInputs = [ curl fuse libxml2 ];
38
38
nativeBuildInputs = [ pkg-config ];
39
39
40
40
-
buildFlags = [ "static" ];
40
40
+
buildFlags = [
41
41
+
"static"
42
42
+
"CC=${stdenv.cc.targetPrefix}cc"
43
43
+
] ++ lib.optional stdenv.isDarwin "CFLAGS=-D_BSD_SOURCE";
41
44
42
45
installPhase = ''
43
46
mkdir -p $out/bin
···
55
58
'';
56
59
homepage = "https://github.com/drotiro/boxfs2";
57
60
license = licenses.gpl3;
58
58
-
platforms = platforms.linux;
61
61
+
platforms = platforms.unix;
59
62
};
60
63
}