Closed atomlab closed 4 years ago
Heya @atomlab - I've been unable to replicate this off the current master (and also on NixOS, not Ubuntu). So to start narrowing down our differences, can you please advise which commit you built against?
Thanks!
Can you share what your nix.conf
contains and verify is has hydra.iohk.io? We are aware of a breakage in python build tooling, but we should have that in our binary cache.
Heya @atomlab - I've been unable to replicate this off the current master (and also on NixOS, not Ubuntu). So to start narrowing down our differences, can you please advise which commit you built against?
Thanks!
last commit
# cd ./cardano-explorer/
cardano-explorer# git log -1
commit 61c2a152e280a4c511a99b40e056a7baee7e74e1 (HEAD -> master, origin/master, origin/HEAD)
Merge: f5bec6d 7363606
Author: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Thu Feb 20 07:16:10 2020 +1100
Merge pull request #270 from input-output-hk/update_setup_doc
Update building-running doc - new socket path
Can you share what your
nix.conf
contains and verify is has hydra.iohk.io? We are aware of a breakage in python build tooling, but we should have that in our binary cache.
I haven't nix.conf
# ls /etc/nix/nix.conf
ls: cannot access '/etc/nix/nix.conf': No such file or directory
It my mistake. Sorry. I have just copied
cp ./docker/nix.conf /etc/nix/nix.conf
And build have finished success.
$ nix-build -A cardano-explorer-node -o explorer-node
these paths will be fetched (2.64 MiB download, 17.08 MiB unpacked):
/nix/store/9my3g5qx4zk20pys5kja3s8q2x8lihxi-cardano-explorer-node-1.3.0-exe-cardano-explorer-node
copying path '/nix/store/9my3g5qx4zk20pys5kja3s8q2x8lihxi-cardano-explorer-node-1.3.0-exe-cardano-explorer-node' from 'https://hydra.iohk.io'...
/nix/store/9my3g5qx4zk20pys5kja3s8q2x8lihxi-cardano-explorer-node-1.3.0-exe-cardano-explorer-node
$ ls -l explorer-node
lrwxrwxrwx 1 cardano cardano 97 feb 25 12:16 explorer-node -> /nix/store/9my3g5qx4zk20pys5kja3s8q2x8lihxi-cardano-explorer-node-1.3.0-exe-cardano-explorer-node
$ explorer-node/bin/cardano-explorer-node --help
Usage: cardano-explorer-node --config FILEPATH --genesis-file FILEPATH
--socket-path FILEPATH --schema-dir FILEPATH
Cardano explorer database node.
Available options:
--config FILEPATH Path to the explorer node config file
--genesis-file FILEPATH Path to the genesis JSON file
--socket-path FILEPATH Path to a cardano-node socket
--schema-dir FILEPATH The directory containing the migrations.
-h,--help Show this help text
I try to build
cardano-explorer
in virtual machine. Just Ubuntu 18.04. Without docker.Setup enviroment
Build
output