aboutsummaryrefslogtreecommitdiff
path: root/bin/src/utils.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-01-14 16:51:42 +0000
committerAkshay <[email protected]>2022-01-14 16:51:42 +0000
commit305960c98b3b71d4b915003430730c76fcda3af3 (patch)
tree09a428186f1aaacca8c4447f2feb7e08aa204217 /bin/src/utils.rs
parent7d732a051e695353db5a3ddbb26ab766ff736043 (diff)
add dump command, support version overrides in statix.tomlsession-info
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}