Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zookeeper: server fixes #43136

Merged
merged 2 commits into from Jul 7, 2018
Merged

Conversation

offlinehacker
Copy link
Contributor

The following pull request patches zookeeper, so running server with zkServer.sh
becomes usable:

  • Wrap zkServer.sh, so server can find paths
  • Patch shebangs in output scripts, which makes running zookeeper server pure

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: zookeeper

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: zookeeper

Partial log (click to expand)

unpacking source archive /nix/store/17m02fq48gkyhrshrwm2c3lip9lk0pdr-zookeeper-3.4.12.tar.gz
source root is zookeeper-3.4.12
setting SOURCE_DATE_EPOCH to timestamp 1522125433 of file zookeeper-3.4.12/dist-maven/zookeeper-3.4.12-tests.jar.sha1.asc
installing
patching script interpreter paths in /nix/store/15qv6af3l68jvfs0292bk9dr58g0q4ls-zookeeper-3.4.12/bin
/nix/store/15qv6af3l68jvfs0292bk9dr58g0q4ls-zookeeper-3.4.12/bin/zkCli.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
/nix/store/15qv6af3l68jvfs0292bk9dr58g0q4ls-zookeeper-3.4.12/bin/zkCleanup.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
/nix/store/15qv6af3l68jvfs0292bk9dr58g0q4ls-zookeeper-3.4.12/bin/zkEnv.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
/nix/store/15qv6af3l68jvfs0292bk9dr58g0q4ls-zookeeper-3.4.12/bin/zkServer.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
/nix/store/15qv6af3l68jvfs0292bk9dr58g0q4ls-zookeeper-3.4.12

@offlinehacker offlinehacker changed the title Zookeeper server fixes zookeeper: server fixes Jul 7, 2018
@infinisil infinisil merged commit 2808f3e into NixOS:master Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants