Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

holochain-go: init at 0.1.0-alpha #42937

Merged
merged 8 commits into from Jul 11, 2018
Merged

Conversation

gavinrogers
Copy link

@gavinrogers gavinrogers commented Jul 3, 2018

Holochain is a platform for creating an unenclosable carrier upon which
highly-scalable dApps and smart contracts can be built. This is the holochain
team's initial implimentation in go. A rust version is under development.

Motivation for this change

Add the holochain core to nixpkgs to allow app developers to bootstrap more quickly: allow people to run their own holochain node.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip" (nothing depends on this change)
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Gavin Rogers added 6 commits July 3, 2018 20:40
Holochain is a platform for creating an unenclosable carrier upon which
highly-scalable dApps and smart contracts can be built. This is the holochain
team's initial implimentation in go. A rust version is under development.
Agree with @Mic92: "Since this was manually edited, we should not claim it was
auto generated.
More housecleaning, also as per @Mic92. He's right, as it says in the manual, to
use fetchFromGithub instead of fetchgit

> Best: Fetches a snapshot archive and you get the rev you want.
@gavinrogers gavinrogers changed the title Init holochain Init: holochain-go at 0.1.0-alpha Jul 3, 2018
@gavinrogers
Copy link
Author

@zimbatm How does this look to you?

@gavinrogers gavinrogers changed the title Init: holochain-go at 0.1.0-alpha holochain-go: init at 0.1.0-alpha Jul 4, 2018
@gavinrogers
Copy link
Author

@edolstra this is what I was telling you about last week

Copy link
Member

@zimbatm zimbatm left a comment

Choose a reason for hiding this comment

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

looking good!

downloadPage = "https://developer.holochain.org/";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ gavin ];
platforms = stdenv.lib.platforms.all;
Copy link
Member

Choose a reason for hiding this comment

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

if platforms is not set it will default to go.meta.platforms which is probably what you want.

Copy link
Author

Choose a reason for hiding this comment

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

Ok I'll remove the platforms metadata

@zimbatm
Copy link
Member

zimbatm commented Jul 5, 2018

@GrahamcOfBorg holochain-go

@xeji
Copy link
Contributor

xeji commented Jul 6, 2018

@GrahamcOfBorg build holochain-go

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: holochain-go

Partial log (click to expand)

github.com/libp2p/go-libp2p-crypto
golang.org/x/crypto/sha3
github.com/ipfs/go-log/tracer
github.com/multiformats/go-multihash
github.com/ipfs/go-log
github.com/libp2p/go-libp2p-peer
github.com/holochain/holochain-proto/hash
github.com/holochain/holochain-proto/peerqueue
builder for '/nix/store/salvhdi2bzrrm9yd0p0hz4z59650aylq-holochain-go0.1.0-alpha.drv' failed with exit code 8
error: build of '/nix/store/salvhdi2bzrrm9yd0p0hz4z59650aylq-holochain-go0.1.0-alpha.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: holochain-go

Partial log (click to expand)

/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/bin/test.examples: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/bash"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/bs.start: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/hc.sync: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/post.up: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/pre.up: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/sync: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncCheckFiles: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/bash"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncStart: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/49h8dn5qlrxgcwkaxkkq1971b9334abx-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/scriptsAccessibleByDockerfiles/entrypoint.sh.addHostUserToContainer: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/fjwzxxr4cb9yy7x9qb1a2cjp396bicys-holochain-go0.1.0-alpha-bin

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: holochain-go

Partial log (click to expand)

github.com/opentracing/opentracing-go/ext
github.com/ipfs/go-log/tracer/wire
github.com/libp2p/go-libp2p-crypto/pb
github.com/libp2p/go-libp2p-crypto
github.com/ipfs/go-log/tracer
github.com/ipfs/go-log
github.com/libp2p/go-libp2p-peer
github.com/holochain/holochain-proto/peerqueue
builder for '/nix/store/n5vgfhh09kmy70iib97c4057f1h5l49x-holochain-go0.1.0-alpha.drv' failed with exit code 8
error: build of '/nix/store/n5vgfhh09kmy70iib97c4057f1h5l49x-holochain-go0.1.0-alpha.drv' failed

@zimbatm
Copy link
Member

zimbatm commented Jul 6, 2018

@gavinrogers has holochain-go been exclusively developed on a mac? The Linux compilation is failing with an exit status 8.

@gavinrogers
Copy link
Author

@zimbatm No it's been developed on linux machines as well. It's complaining about github.com/gxed/eventfd ... which isn't called by holochain-proto (that I can tell). Is it being called by a dependency? I'll add it

"if platforms is not set it will default to go.meta.platforms which is probably
what you want" And that does sound like what we want. Also, the linux build was
complaining about eventfd, or the lack thereof.
@gavinrogers
Copy link
Author

gavinrogers commented Jul 6, 2018

@zimbatm what's the easiest way to create a job in hydra that will build this? I'm trying a jobset with the "nix expression" set to ./pkgs/servers/holochain-go/default.nix and the input value "https://github.com/gavinrogers/nixpkgs init_holochain" but that doesn't seem to work

EDIT: the error I'm getting is Jobset contains a job with an empty name. Make sure the jobset evaluates to an attrset of jobs.

@gavinrogers
Copy link
Author

@GrahamcOfBorg build holochain-go

@xeji
Copy link
Contributor

xeji commented Jul 6, 2018

I'm afraid you lack the access rights to trigger the build.
@GrahamcOfBorg build holochain-go

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: holochain-go

Partial log (click to expand)

github.com/libp2p/go-libp2p-crypto/pb
github.com/ipfs/go-log/tracer/wire
github.com/multiformats/go-multihash
github.com/libp2p/go-libp2p-crypto
github.com/ipfs/go-log/tracer
github.com/ipfs/go-log
github.com/libp2p/go-libp2p-peer
github.com/holochain/holochain-proto/peerqueue
builder for '/nix/store/ibzp78jm06j5ayfn7zpfga06jc0m1xci-holochain-go0.1.0-alpha.drv' failed with exit code 8
error: build of '/nix/store/ibzp78jm06j5ayfn7zpfga06jc0m1xci-holochain-go0.1.0-alpha.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: holochain-go

Partial log (click to expand)

github.com/libp2p/go-libp2p-crypto/pb
github.com/ipfs/go-log/tracer/wire
github.com/libp2p/go-libp2p-crypto
github.com/ipfs/go-log/tracer
github.com/ipfs/go-log
github.com/libp2p/go-libp2p-peer
github.com/holochain/holochain-proto/hash
github.com/holochain/holochain-proto/peerqueue
builder for '/nix/store/s4s4ca40rbf4fn2hkv647bjpdnip4wmg-holochain-go0.1.0-alpha.drv' failed with exit code 8
error: build of '/nix/store/s4s4ca40rbf4fn2hkv647bjpdnip4wmg-holochain-go0.1.0-alpha.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: holochain-go

Partial log (click to expand)

/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/bin/test.examples: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/bash"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/bs.start: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/hc.sync: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/post.up: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/pre.up: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/sync: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncCheckFiles: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/bash"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncStart: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/dsdpxy1r5jws4y7wh1csvzr5br4llyz1-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/scriptsAccessibleByDockerfiles/entrypoint.sh.addHostUserToContainer: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/54pq676dbg6gnqzp9viskg4lvmxsh7a6-holochain-go0.1.0-alpha-bin

@gavinrogers
Copy link
Author

Ok it needs github.com/gxed/GoEndian, but only on linux? I don't fully understand why it's only complaining on some platforms. I should add it, but perhaps I should find out what is using it, and package that separately, with GoEndian as a dependency?

I'm a little confused as to why this buils and runs on darwin, but fails to
build without it on linux. The error was:

```go/src/github.com/gxed/eventfd/eventfd.go:17:2: cannot find package "github.com/gxed/GoEndian" in any of:```
@zimbatm
Copy link
Member

zimbatm commented Jul 7, 2018

@GrahamcOfBorg build holochain-go

@gavinrogers make sure to use --option sandbox true when building on Linux. It's not enabled by default but is required by Hydra to make sure that all the dependencies are declared. It's possible that when testing without the sandboxing the go toolchain will fetch these from the network directly.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: holochain-go

Partial log (click to expand)

/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/bin/holochain.core.fromLocalFilesystem.install: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/hc.sync: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/sync: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/bs.start: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/pre.up: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncStart: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncCheckFiles: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/bash"
/nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/post.up: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/g03wrz55ddfsm9rg9hg66vpnb1sgnnam-holochain-go0.1.0-alpha...
/nix/store/6hrv1a40ky7a39r3s3v6pkj9qg99ysxq-holochain-go0.1.0-alpha-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: holochain-go

Partial log (click to expand)

/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/bs.start: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/hc.sync: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/post.up: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/pre.up: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/sync: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncCheckFiles: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/bash"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncStart: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
/nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/scriptsAccessibleByDockerfiles/entrypoint.sh.addHostUserToContainer: interpreter directive changed from "/bin/sh" to "/nix/store/p0vy17dp9jk2mvqsxsqnb14s3797lay7-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/1fnmb8fi55akmkvss707jxb2f5j9dvw2-holochain-go0.1.0-alpha...
/nix/store/z9lsjgjac5cr59wcykkzrmgwb4kc84w9-holochain-go0.1.0-alpha-bin

@zimbatm
Copy link
Member

zimbatm commented Jul 7, 2018

Also I recommend vendoring the dependencies using a tool like godep. This will simplify the nix packaging as the deps.nix doesn't need to be generated anymore, and also allow anyone with go installed to easily run go get github.com/holochain/holochain-proto to build their own binary version.

Without locking the dependencies you are going to get github issues about version incompatibilities otherwise.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: holochain-go

Partial log (click to expand)

/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/bin/test.examples: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/bash"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/bs.start: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/hc.sync: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/post.up: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/pre.up: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/sync: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncCheckFiles: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/bash"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/docker/app.docker/syncedMultiNode.containers.scripts/syncStart: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/lw6b4d9ap5r53xai87w871n0wgwr4y4q-holochain-go0.1.0-alpha/share/go/src/github.com/holochain/holochain-proto/scriptsAccessibleByDockerfiles/entrypoint.sh.addHostUserToContainer: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/i9n2ar4n5d77d22nwmlw43dc6fzr90mn-holochain-go0.1.0-alpha-bin

@gavinrogers
Copy link
Author

gavinrogers commented Jul 10, 2018

@zimbatm "Please use dep or another tool instead." in the README

Is there something in nixpkgs which might supply an example of this?

EDIT: Ok I built a deps.nix using dep-0.4.1 and dep2nix-0.0.1. There's not much difference really, and it breaks as glycerine/tmframe/testdata/logentry_gen.go uses glycerine/zebrapack/msgp which isn't in the Gopkg.lock which dep built (github.com/tinylib/msgp is though). If I do refactor a little, I'd rather do that in a separate PR. Could this PR be merged as is?

@gavinrogers
Copy link
Author

@grahamc @zimbatm @svanderburg @edolstra could I get a merge on this? we have a hackathon coming up this weekend and it would be a good demonstration of nixpkgs if participants could install nix, add the unstable channel and just nix-shell -p holochain-go

@edolstra edolstra merged commit c93123a into NixOS:master Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants