Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Prototype of Nix integration and solc picking #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mbrock
Copy link
Contributor

@mbrock mbrock commented Sep 8, 2017

This pretty much works fine! But we shouldn't merge it immediately,
there's some stuff to consider and some stuff to do.

See #53. cc @dbrock

I can run dapp in a clean Ubuntu Docker, and it will commence installing
Nix, setting up the DappHub Nix channel, and then reinstalling dapp
via Nix.

It's kind of weird though that you would first download the dapp source
code and install it, and then it would immediately reinstall itself in a
different place using Nix.

So I'm not sure, maybe there should be a separate easy install script,
instead of the check in the main dapp program.

Until this dapp version is actually in Nix, the dapp --use won't work.

@@ -4,6 +4,28 @@ export DAPP_SRC=${DAPP_SRC-src}
export DAPP_LIB=${DAPP_LIB-lib}
export DAPP_OUT=${DAPP_OUT-out}

function have() { command -v "$1" >/dev/null 2>&1 ; }

for dep in bc curl git node solc ethabi ethrun seth jshon; do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Demanding ethrun here is stupid since Nix dapp doesn't use ethrun...

This pretty much works fine!

I can run dapp in a clean Ubuntu Docker, and it will commence installing
Nix, setting up the DappHub Nix channel, and then reinstalling dapp
via Nix.

It's kind of weird though that you would first download the dapp source
code and install it, and then it would immediately reinstall itself in a
different place using Nix.

So I'm not sure, maybe there should be a separate easy install script,
instead of the check in the main dapp program.
@dbrock
Copy link
Contributor

dbrock commented Dec 11, 2017

Wait is this still needed what's going on here hehe

@mbrock
Copy link
Contributor Author

mbrock commented Dec 11, 2017

no this is weird crazy stuff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants