NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.29k stars 14.27k forks source link

Confluent Platform's confluent-hub command doesn't work #87718

Open CMCDragonkai opened 4 years ago

CMCDragonkai commented 4 years ago

The confluent-platform's confluent-hub command doesn't work out of the box.

First it tries to install components into /nix/store/yhihaa7dqnr4qpkys65ibjbmkch6h0yh-confluent-platform-5.4.1/share/confluent-hub-components. This of course doesn't work because the /nix/store is a read only directory.

Now if I use --component-dir=./tmp/confluent-hub-components it still doesn't work because it tries to run /bin/bash.

For example:

> confluent-hub install --component-dir=./tmp/confluent-hub-components --no-prompt confluentinc/kafka-connect-datagen:latestRunning in a "--no-prompt" mode latest
Implicit acceptance of the license below:  
Apache License 2.0 
https://www.apache.org/licenses/LICENSE-2.0 
Downloading component Kafka Connect Datagen 0.3.2, provided by Confluent, Inc. from Confluent Hub and installing into ./tmp/confluent-hub-components 
Unable to list processes 
Cannot run program "/bin/bash": error=2, No such file or directory 

Error: Unknown error 

It seems that the confluent-platform on NixOS hasn't been properly thought out as a development tool or as a service since I don't see any service configurations for NixOS and confluent-platform?

stale[bot] commented 4 years ago

I marked this as stale due to inactivity. → More info