Skip to content

Commit

Permalink
rubyPackages.zookeeper: drop outdated patch
Browse files Browse the repository at this point in the history
Without the change build fails as:

    patch -p0 < patches/zkc-3.4.5-gcc-8.patch 2>&1
    patching file zkc-3.4.5/c/src/zookeeper.c
    Hunk #1 FAILED at 3418.
    1 out of 1 hunk FAILED -- saving rejects to file zkc-3.4.5/c/src/zookeeper.c.rej
  • Loading branch information
trofi committed Dec 4, 2021
1 parent bb9bd46 commit 05d223f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
6 changes: 0 additions & 6 deletions pkgs/development/ruby-modules/gem-config/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -676,11 +676,5 @@ in

zookeeper = attrs: {
buildInputs = lib.optionals stdenv.isDarwin [ cctools ];
dontBuild = false;
postPatch = ''
sed -i ext/extconf.rb -e "4a \
FileUtils.cp '${./zookeeper-ftbfs-with-gcc-8.patch}', 'patches/zkc-3.4.5-gcc-8.patch'
"
'';
};
}

This file was deleted.

0 comments on commit 05d223f

Please sign in to comment.