tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

ETL container: add nix binary to PATH #38

Closed jlesquembre closed 1 year ago

jlesquembre commented 1 year ago

fixes #32

See https://github.com/DeterminateSystems/nix-installer#in-a-container

I think it worked for me because I executed the command from the container in a bash session (by default the container runs /bin/sh, and nix is not in the PATH)

jlesquembre commented 1 year ago

@zz1874 Thanks! I updated the README to clarify the usage. If you don't use docker compose, the command you wrote is the right one, but it's a bit different with docker compose

jlesquembre commented 1 year ago

@zz1874 The command you wrote also works with the way I'm running the application with docker compose (just tested it). I'm leaving only your command to avoid confusions. I also rebased the changes to fix a conflict, if it looks good to you, I think we can merge it.