This repository was archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from holochain/2019-06-17-dist
2019 06 17 dist
- Loading branch information
Showing
101 changed files
with
719 additions
and
642 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./test { }).buildInputs | ||
; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./test { }).buildInputs | ||
++ (pkgs.callPackage ./test_proc_macro { }).buildInputs | ||
; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./install { }).buildInputs | ||
++ (pkgs.callPackage ./test { }).buildInputs | ||
++ (pkgs.callPackage ./uninstall { }).buildInputs | ||
; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ pkgs }: | ||
let | ||
pkgs = import ../../nixpkgs/nixpkgs.nix; | ||
|
||
name = "hc-cli-install"; | ||
|
||
script = pkgs.writeShellScriptBin name | ||
'' | ||
cargo build -p hc --release && cargo install -f --path cli | ||
''; | ||
in | ||
script | ||
{ | ||
buildInputs = [ script ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./node { }).buildInputs | ||
++ (pkgs.callPackage ./rust { }).buildInputs | ||
++ (pkgs.callPackage ./wasm { }).buildInputs | ||
; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./install { }).buildInputs | ||
++ (pkgs.callPackage ./test { }).buildInputs | ||
; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
conductor/node/src/test.nix → conductor/node/test/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ pkgs }: | ||
let | ||
pkgs = import ../../../nixpkgs/nixpkgs.nix; | ||
|
||
name = "hc-conductor-node-test"; | ||
|
||
script = pkgs.writeShellScriptBin name | ||
'' | ||
hc-conductor-node-install && ( cd nodejs_conductor && npm test ); | ||
''; | ||
in | ||
script | ||
{ | ||
buildInputs = [ script ]; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./install { }).buildInputs | ||
++ (pkgs.callPackage ./uninstall { }).buildInputs | ||
; | ||
} |
7 changes: 4 additions & 3 deletions
7
conductor/rust/src/install.nix → conductor/rust/install/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ pkgs }: | ||
let | ||
pkgs = import ../../../nixpkgs/nixpkgs.nix; | ||
|
||
name = "hc-conductor-rust-install"; | ||
|
||
script = pkgs.writeShellScriptBin name | ||
'' | ||
cargo build -p holochain --release && cargo install -f --path conductor | ||
''; | ||
in | ||
script | ||
{ | ||
buildInputs = [ script ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ pkgs }: | ||
{ | ||
buildInputs = [] | ||
++ (pkgs.callPackage ./compile { }).buildInputs | ||
++ (pkgs.callPackage ./install { }).buildInputs | ||
++ (pkgs.callPackage ./test { }).buildInputs | ||
++ (pkgs.callPackage ./uninstall { }).buildInputs | ||
; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
conductor/wasm/src/uninstall.nix → conductor/wasm/uninstall/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ pkgs }: | ||
let | ||
pkgs = import ../../../nixpkgs/nixpkgs.nix; | ||
|
||
name = "hc-conductor-wasm-uninstall"; | ||
|
||
script = pkgs.writeShellScriptBin name | ||
'' | ||
cargo uninstall wasm-bindgen-cli | ||
''; | ||
in | ||
script | ||
{ | ||
buildInputs = [ script ]; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ pkgs }: | ||
let | ||
# https://stackoverflow.com/questions/51161225/how-can-i-make-macos-frameworks-available-to-clang-in-a-nix-environment | ||
frameworks = if pkgs.stdenv.isDarwin then pkgs.darwin.apple_sdk.frameworks else {}; | ||
ld-flags = if pkgs.stdenv.isDarwin then "-F${frameworks.CoreFoundation}/Library/Frameworks -framework CoreFoundation " else ""; | ||
in | ||
{ | ||
frameworks = frameworks; | ||
ld-flags = ld-flags; | ||
buildInputs = [] | ||
++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ frameworks.Security frameworks.CoreFoundation frameworks.CoreServices ]; | ||
} |
Oops, something went wrong.