nsync: fix build on macOS
This commit is contained in:
parent
4c0eb8eb9e
commit
3f2381e4bd
1 changed files with 5 additions and 3 deletions
|
@ -17,13 +17,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# Needed for case-insensitive filesystems like on macOS
|
||||
# because a file named BUILD exists already.
|
||||
cmakeBuildDir = "build_dir";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/google/nsync";
|
||||
description = "C library that exports various synchronization primitives";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ puffnfresh Luflosi ];
|
||||
# On macOS we get an error for some reason:
|
||||
# > mkdir: cannot create directory 'build': File exists
|
||||
platforms = lib.platforms.linux;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue