From 305960c98b3b71d4b915003430730c76fcda3af3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 14 Jan 2022 22:21:42 +0530 Subject: add dump command, support version overrides in statix.toml --- bin/src/utils.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/src/utils.rs') 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 { .nth(2) .map(ToOwned::to_owned) } + +pub fn default_nix_version() -> String { + String::from("2.4") +} -- cgit v1.2.3