Hi, I’ve build daedalus on NixOS as follows, which works fine:
# git checkout release/0.11.1
# nix-build ./default.nix
However, then I try to start daedalus and I get the following error:
# /nix/store/wnv5icwbfgi56fwr3xlcqlswidn7zy60-daedalus/bin/daedalus
+ export PATH=/nix/store/2a5jk1673mcizgpv9drvra5ifdlsz3bg-daedalus-frontend/bin/:/nix/store/njbwdvjiakpf487icxanh85v8nibdvym-cardano-daedalus-bridge-1.3.1/bin:/nix/store/n25mwzzpzw3macwnrncms1frjdxv9v83-compton-0.1_beta2.5/bin:/nix/store/8fccxlqdghsprvdr6wwjfggarxmzj2h0-unclutter-8/bin:/nix/store/k64fzsig7ww4lq6i4h8f8yyqclcaf355-procps-3.3.15/bin:/nix/store/x21z7ya4jmlf6ml72cr4izppm8cw4akb-iproute2-4.18.0/bin:/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin:/nix/store/4xbcs5wx2h4z60k8v2gdnis9zm5jhdqi-curl-7.61.0-bin/bin:/nix/store/75kll3m0w5zp2x4rm8xksx4f3xq5vaqj-alsa-utils-1.1.6/bin:/nix/store/g5dlpwd44kd75i71nwzii8w4bp4inxwk-findutils-4.6.0/bin:/nix/store/232qkrdrpia4w62hhxsxwvqn69gpnzy4-xterm-335/bin:/home/user/bin:/run/wrappers/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/user/bin:/home/user/.fzf/bin
+ PATH=/nix/store/2a5jk1673mcizgpv9drvra5ifdlsz3bg-daedalus-frontend/bin/:/nix/store/njbwdvjiakpf487icxanh85v8nibdvym-cardano-daedalus-bridge-1.3.1/bin:/nix/store/n25mwzzpzw3macwnrncms1frjdxv9v83-compton-0.1_beta2.5/bin:/nix/store/8fccxlqdghsprvdr6wwjfggarxmzj2h0-unclutter-8/bin:/nix/store/k64fzsig7ww4lq6i4h8f8yyqclcaf355-procps-3.3.15/bin:/nix/store/x21z7ya4jmlf6ml72cr4izppm8cw4akb-iproute2-4.18.0/bin:/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin:/nix/store/4xbcs5wx2h4z60k8v2gdnis9zm5jhdqi-curl-7.61.0-bin/bin:/nix/store/75kll3m0w5zp2x4rm8xksx4f3xq5vaqj-alsa-utils-1.1.6/bin:/nix/store/g5dlpwd44kd75i71nwzii8w4bp4inxwk-findutils-4.6.0/bin:/nix/store/232qkrdrpia4w62hhxsxwvqn69gpnzy4-xterm-335/bin:/home/user/bin:/run/wrappers/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/user/bin:/home/user/.fzf/bin
+ test -z ‘’
+ XDG_DATA_HOME=/home/user/.local/share
+ export CLUSTER=mainnet
+ CLUSTER=mainnet
+ export DAEDALUS_DIR=/home/user/.local/share/Daedalus
+ DAEDALUS_DIR=/home/user/.local/share/Daedalus
+ export DAEDALUS_CONFIG=/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config
+ DAEDALUS_CONFIG=/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config
+ mkdir -p /home/user/.local/share/Daedalus/mainnet/Logs/pub /home/user/.local/share/Daedalus/mainnet/Secrets
+ cd /home/user/.local/share/Daedalus/mainnet/
+ exec /nix/store/njbwdvjiakpf487icxanh85v8nibdvym-cardano-daedalus-bridge-1.3.1/bin/cardano-launcher --config /nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/launcher-config.yaml
[launcher:INFO] [2018-10-23 12:14:23.08 UTC] using configurations: ConfigurationOptions {cfoFilePath = “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/configuration.yaml”, cfoKey = “mainnet_wallet_linux64”, cfoSystemStart = Nothing, cfoSeed = Nothing}
[launcher:INFO] [2018-10-23 12:14:24.03 UTC] Generating new TLS certificates in /home/user/.local/share/Daedalus/mainnet/tls
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] LAUNCHER STARTED
[launcher:INFO] [2018-10-23 12:14:24.48 UTC] Running in the client scenario
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] Starting the node
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] cardano-node “–report-server” “http://report-server.cardano-mainnet.iohk.io:8080” “–db-path” “/home/user/.local/share/Daedalus/mainnet/DB/” “–configuration-file” “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/configuration.yaml” “–configuration-key” “mainnet_wallet_linux64” “–logs-prefix” “/home/user/.local/share/Daedalus/mainnet/Logs” “–tlsca” “/home/user/.local/share/Daedalus/mainnet/tls/server/ca.crt” “–tlscert” “/home/user/.local/share/Daedalus/mainnet/tls/server/server.crt” “–tlskey” “/home/user/.local/share/Daedalus/mainnet/tls/server/server.key” “–no-client-auth” “–update-server” “https://update-cardano-mainnet.iohk.io” “–keyfile” “/home/user/.local/share/Daedalus/mainnet/Secrets/secret.key” “–topology” “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/wallet-topology.yaml” “–wallet-db-path” “/home/user/.local/share/Daedalus/mainnet/Wallet/” “–update-latest-path” “/home/user/.local/share/Daedalus/mainnet/installer.sh” “–wallet-address” “127.0.0.1:8090” “–update-with-package” “–log-config” “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/log-config-prod.yaml”
[launcher:INFO] [2018-10-23 12:14:24.48 UTC] Node has started
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] Starting the wallet
[launcher:INFO] [2018-10-23 12:14:24.48 UTC] Waiting for wallet or node to finish…
[launcher:INFO] [2018-10-23 12:14:24.58 UTC] Wallet or node has finished!
[launcher:WARNING] [2018-10-23 12:14:24.58 UTC] The wallet has exited with ExitFailure 127
[launcher:WARNING] [2018-10-23 12:14:24.58 UTC] The wallet has exited, but the node is still up.
[launcher:INFO] [2018-10-23 12:14:24.58 UTC] Killing the node
[launcher:NOTICE] [2018-10-23 12:14:24.59 UTC] Finished clientScenario
The end result is that the wallet is unable to start. I guess, the problem is the following line:
[launcher:WARNING] [2018-10-23 12:14:24.58 UTC] The wallet has exited with ExitFailure 127
How can I resolve that?