Merge pull request #31707 from mbld/darwin-borgbackup

borgbackup: Make build on darwin possible
This commit is contained in:
Frederik Rietdijk 2017-11-15 21:20:21 +01:00 committed by GitHub
commit 6deba8cc02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,11 +16,11 @@ python3Packages.buildPythonApplication rec {
sphinx guzzle_sphinx_theme
];
buildInputs = [
acl lz4 openssl python3Packages.setuptools_scm
];
lz4 openssl python3Packages.setuptools_scm
] ++ stdenv.lib.optionals stdenv.isLinux [ acl ];
propagatedBuildInputs = with python3Packages; [
cython llfuse msgpack
];
cython msgpack
] ++ stdenv.lib.optionals (!stdenv.isDarwin) [ llfuse ];
preConfigure = ''
export BORG_OPENSSL_PREFIX="${openssl.dev}"