-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Patchelfing * Try escaping * Unconditionally patchelf * Revert to conditional patchelfing * Add icx-proxy to the list of binaries * Attempt to set DFX_CONFIG_ROOT So that subsequent dfx commands see that the cache is populated and don't try to unpack new binaries that haven't been patched. Also check if the initial dfx binary needs patching, since in 0.9.2 it appeared to use static linking. * Add .gitignore * Add default package to flake example * Add CI job for building flake example * Unconditionally patch dfx again * Revert "Unconditionally patch dfx again" This reverts commit 4cc1517. * Use local path, update flake.lock By running `nix flake lock --update-input dfinity-sdk` * Add newline * Actually try running dfx start/stop in example * Add dfx.json to example, fix cache directory * Fix CI job name
- Loading branch information
Showing
6 changed files
with
86 additions
and
19 deletions.
There are no files selected for viewing
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,15 @@ | ||
name: "Build flake example" | ||
on: | ||
pull_request: | ||
push: | ||
jobs: | ||
nix: | ||
name: Build flake example on ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: cachix/install-nix-action@v15 | ||
- run: cd examples/flake && nix build --show-trace |
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 @@ | ||
# DFINITY | ||
.dfx/ | ||
|
||
|
||
# Nix | ||
result | ||
result-* |
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,10 @@ | ||
{ | ||
"version": 1, | ||
"dfx": "0.8.4", | ||
"networks": { | ||
"local": { | ||
"bind": "127.0.0.1:8000", | ||
"type": "ephemeral" | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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