input-output-hk / cardano-sl

Cryptographic currency implementing Ouroboros PoS protocol
Apache License 2.0
3.76k stars 631 forks source link

nix-build works in develop but *not* master #2212

Open gruvin opened 6 years ago

gruvin commented 6 years ago

After a clean checkout of the cardano master branch [Ubuntu 16.04] I found that the following command from your build docs fails, as follows ...

$ nix-build -A cardano-sl-node-static --cores 0 --max-jobs 2 --no-build-output --out-link master
error: attribute ‘cardano-sl-node-static’ in selection path ‘cardano-sl-node-static’ not found

It does however work just fine in the develop branch.

I suspect some files have not been merged into master or something.

sandrolazarro commented 6 years ago

Getting the same issue on Fedora 27 after following the doc step by step, without previous nix install on my machine. Interested in a fix or workaround as well.

zmeel commented 6 years ago

Try building it with cardano-sl-static

$ nix-build -A cardano-sl-static --cores 0 --max-jobs 2 --no-build-output --out-link master
error: attribute ‘cardano-sl-node-static’ in selection path ‘cardano-sl-node-static’ not found

See this PR

ouerlianchuang commented 6 years ago

I also met this problem. Have you solved it now?@gruvin

p-alik commented 6 years ago

consider last update on build-cardano-sl-and-daedalus-from-source-code.md in develop branch

$ nix-build -A cardano-sl-static --cores 0 --max-jobs 2 --no-build-output --out-link master