diff --git a/README.md b/README.md index 63ee00f8..5999a359 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,12 @@ Similarly, you can install crate2nix by nix-env -i -f https://github.com/nix-community/crate2nix/tarball/master ``` +or with flakes (enabled by default by nix-installer above): + +```bash +nix profile install nix-community/crate2nix?ref=0.11.0 +``` + If you want to tweak crate2nix, clone the repository and then ```bash diff --git a/crate2nix/Cargo.nix b/crate2nix/Cargo.nix index a03f345f..283d74d9 100644 --- a/crate2nix/Cargo.nix +++ b/crate2nix/Cargo.nix @@ -1,5 +1,5 @@ -# This file was @generated by crate2nix 0.11.0-rc.4 with the command: +# This file was @generated by crate2nix 0.11.0 with the command: # "generate" "-n" "../nix/nixpkgs.nix" "-f" "./crate2nix/Cargo.toml" "-o" "./crate2nix/Cargo.nix" # See https://github.com/kolloch/crate2nix for more info. @@ -440,7 +440,7 @@ rec { }; "crate2nix" = rec { crateName = "crate2nix"; - version = "0.11.0-rc.4"; + version = "0.11.0"; edition = "2018"; crateBin = [ { diff --git a/sample_projects/bin_with_git_submodule_dep/Cargo.nix b/sample_projects/bin_with_git_submodule_dep/Cargo.nix index 573ffb9e..56afb457 100644 --- a/sample_projects/bin_with_git_submodule_dep/Cargo.nix +++ b/sample_projects/bin_with_git_submodule_dep/Cargo.nix @@ -1,5 +1,5 @@ -# This file was @generated by crate2nix 0.11.0-rc.4 with the command: +# This file was @generated by crate2nix 0.11.0 with the command: # "generate" "-f" "sample_projects/bin_with_git_submodule_dep/Cargo.toml" "-o" "sample_projects/bin_with_git_submodule_dep/Cargo.nix" # See https://github.com/kolloch/crate2nix for more info. diff --git a/sample_projects/codegen/Cargo.nix b/sample_projects/codegen/Cargo.nix index a1b01dc3..4a8e9eba 100644 --- a/sample_projects/codegen/Cargo.nix +++ b/sample_projects/codegen/Cargo.nix @@ -1,5 +1,5 @@ -# This file was @generated by crate2nix 0.11.0-rc.4 with the command: +# This file was @generated by crate2nix 0.11.0 with the command: # "generate" "-f" "sample_projects/codegen/Cargo.toml" "-o" "sample_projects/codegen/Cargo.nix" # See https://github.com/kolloch/crate2nix for more info. diff --git a/sample_projects/sub_dir_crates/Cargo.nix b/sample_projects/sub_dir_crates/Cargo.nix index ee6ed4c8..e581ca72 100644 --- a/sample_projects/sub_dir_crates/Cargo.nix +++ b/sample_projects/sub_dir_crates/Cargo.nix @@ -1,5 +1,5 @@ -# This file was @generated by crate2nix 0.11.0-rc.4 with the command: +# This file was @generated by crate2nix 0.11.0 with the command: # "generate" "-f" "sample_projects/sub_dir_crates/Cargo.toml" "-o" "sample_projects/sub_dir_crates/Cargo.nix" # See https://github.com/kolloch/crate2nix for more info.