nix run -L git+ssh://git@github.com/fida-services/fida-contracts#fida-contracts:exe:fida-contracts-serialise -- -n 'Fida.RawScript'
locally
nix run -L .#fida-contracts:exe:fida-contracts-serialise -- -n 'Fida.RawScript'
nix run -L git+ssh://git@github.com/fida-services/fida-contracts#fida-contracts:exe:fida-contracts-serialise -- -o .
locally
nix run -L .#fida-contracts:exe:fida-contracts-serialise -- -o ~/now/fida-purs-module/
- Install direnv
nix profile install nixpkgs#direnv
and add the following line
to the ~/.zshrc
(for zsh
users)
eval "$(direnv hook zsh)"
or to ~/.bashrc
(for bash
users)
eval "$(direnv hook bash)"
nix profile install nixpkgs#nix-direnv
and add following to the ~/.zshrc
(~/.bashrc
) file
source $HOME/.nix-profile/share/nix-direnv/direnvrc
- Allow .envrc to be loaded
cd fida-contracts
direnv allow
- Install VS Code extensions
- direnv
- Haskell