holochain_scaffolding_cli 0.0.4

CLI to easily generate and modify holochain apps
Documentation
use build_fs_tree::file;

use crate::file_tree::*;
use crate::versions::holochain_nix_version;

pub fn default_nix() -> FileTree {
    file!(format!(
        r#"let
  holonixPath = (import ./nix/sources.nix).holonix; # points to the current state of the Holochain repository
  holonix = import (holonixPath) {{
    rustVersion = {{
      track = "stable";
      version = "1.64.0";
    }};

    holochainVersionId = "{}"; # specifies the Holochain version
  }};
  nixpkgs = holonix.pkgs;
in nixpkgs.mkShell {{
  inputsFrom = [ holonix.main ];
  packages = with nixpkgs; [
    niv
    nodejs-18_x
    wasm-bindgen-cli
    # any additional packages needed for this project, e. g. Nodejs
  ];
}}"#,
        holochain_nix_version()
    ))
}