paulyoung / nixpkgs-dfinity-sdk

Nixpkgs overlay for the DFINITY SDK.
Apache License 2.0
0 stars 3 forks source link

Setting `DFX_CONFIG_ROOT` for cache dir purpose makes config dir read-only #4

Open paulyoung opened 2 years ago

paulyoung commented 2 years ago

https://github.com/paulyoung/nixpkgs-dfinity-sdk/pull/3 fixed dfx start and dfx stop on Linux but broke dfx deploy which tries to write to the .config directory that is now a path in the nix store.

This could potentially be solved by introducing a new DFX_CACHE_ROOT environment variable to dfx.

nomeata commented 1 year ago

With https://github.com/dfinity/sdk/issues/2106 solved, can this be fixed here too?