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
buildInputs = [ curl fuse libxml2 ];
38
nativeBuildInputs = [ pkg-config ];
39
40
-
buildFlags = [ "static" ];
0
0
0
41
42
installPhase = ''
43
mkdir -p $out/bin
···
55
'';
56
homepage = "https://github.com/drotiro/boxfs2";
57
license = licenses.gpl3;
58
-
platforms = platforms.linux;
59
};
60
}
···
37
buildInputs = [ curl fuse libxml2 ];
38
nativeBuildInputs = [ pkg-config ];
39
40
+
buildFlags = [
41
+
"static"
42
+
"CC=${stdenv.cc.targetPrefix}cc"
43
+
] ++ lib.optional stdenv.isDarwin "CFLAGS=-D_BSD_SOURCE";
44
45
installPhase = ''
46
mkdir -p $out/bin
···
58
'';
59
homepage = "https://github.com/drotiro/boxfs2";
60
license = licenses.gpl3;
61
+
platforms = platforms.unix;
62
};
63
}