Skip to content

Commit

Permalink
feat(cli): point nix-shell to flake version of holonix
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Feb 6, 2023
1 parent 7745509 commit 00d795e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ impl HcScaffold {
let output = Command::new("nix-shell")
.stdout(Stdio::inherit())
.current_dir(std::env::current_dir()?.join(&name))
.args(["-I", "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz", "-p", "niv", "--run", "niv init && niv drop nixpkgs && niv drop niv && niv add -b main holochain/holonix"])
.args(["-I", "nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz", "-p", "niv", "--run", "niv init && niv drop nixpkgs && niv drop niv && niv add -b pr_holonix_on_flakes holochain/holochain"])
.output()?;

if !output.status.success() {
Expand Down

0 comments on commit 00d795e

Please sign in to comment.