aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix b/nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix
index 436037245bb..d8d41450079 100644
--- a/nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix
+++ b/nixpkgs/pkgs/tools/filesystems/xtreemfs/default.nix
@@ -1,5 +1,5 @@
{ stdenv, boost, fuse, openssl, cmake, attr, jdk, ant, which, file, python
-, lib, valgrind, makeWrapper, fetchFromGitHub }:
+, lib, valgrind, makeWrapper, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation {
src = fetchFromGitHub {
@@ -15,6 +15,14 @@ stdenv.mkDerivation {
buildInputs = [ which attr makeWrapper python ];
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/xtreemfs/xtreemfs/commit/ebfdc2fff56c09f310159d92026883941e42a953.patch";
+ sha256 = "075w00ad88qm6xpm5679m0gfzkrc53w17sk7ycybf4hzxjs29ygy";
+ name = "xtreemfs-fix-for-openssl_1_1";
+ })
+ ];
+
preConfigure = ''
export JAVA_HOME=${jdk}
export ANT_HOME=${ant}
@@ -66,6 +74,5 @@ stdenv.mkDerivation {
maintainers = with lib.maintainers; [ raskin matejc ];
platforms = lib.platforms.linux;
license = lib.licenses.bsd3;
- broken = true; # does not support openssl 1.1
};
}