Comments (4)
Now supported! You can try
nix-shell https://github.com/ninegua/ic-nix/releases/latest/download/dfx-env.tar.gz
This will enter a nix-shell environment with dfx and other tools to start canister development! It will download pre-built binaries if your platform is supported. Otherwise it will give a nice warning saying you can add --arg force true
to build from source!
from ic-nix.
Very neat! How exactly did you convince dfx
to use the replica
binary you built and put on the PATH, instead of the one it usually extracts from its embedded cache?
from ic-nix.
dfx actually will find a binary if its path is given in the environment DFX_$name_PATH
. See https://github.com/ninegua/ic-nix/blob/main/dfx-env.nix#L74-L77
from ic-nix.
Ah, this must be new or I was blind when I tried to nixify dfx.
from ic-nix.
Related Issues (14)
- development plan
- QUESTION: What are the steps to use this on nix-os? Also, any plans of pushing dfx to the nix package repository? HOT 10
- Question: With ic-nix, how should I execute my ic-repl scripts? HOT 2
- Request: Add test-state-machine-client to ic-nix as part of the packaged binaries HOT 20
- Request: Add idl2json as a supported binary
- Error: The βenvβ attribute set cannot contain any attributes passed to derivation. HOT 2
- UPDATE: Upgrade the test client binary to the latest HOT 5
- Request: Please add `sns-quill` to `ic-nix` HOT 14
- Can wasmtime and mops be added to the shell environment, please? HOT 3
- Is it possible to pas an argument to nix-shell --pure to use additional packages in the shell? HOT 8
- Build all canisters from source
- Upgrading from v20230508 to v20230530 inflates canister sizes beyond 2MB HOT 10
- Not able to use the latest release with MacOS M1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ic-nix.