aboutsummaryrefslogtreecommitdiff
path: root/bin/src/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/utils.rs')
-rw-r--r--bin/src/utils.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/src/utils.rs b/bin/src/utils.rs
index a3d51b4..1adac4a 100644
--- a/bin/src/utils.rs
+++ b/bin/src/utils.rs
@@ -35,3 +35,7 @@ pub fn get_version_info() -> Option<String> {
35 .nth(2) 35 .nth(2)
36 .map(ToOwned::to_owned) 36 .map(ToOwned::to_owned)
37} 37}
38
39pub fn default_nix_version() -> String {
40 String::from("2.4")
41}