Code Monkey home page Code Monkey logo

Comments (4)

ninegua avatar ninegua commented on August 20, 2024

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.

nomeata avatar nomeata commented on August 20, 2024

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.

ninegua avatar ninegua commented on August 20, 2024

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.

nomeata avatar nomeata commented on August 20, 2024

Ah, this must be new or I was blind when I tried to nixify dfx.

from ic-nix.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.