nixy-rs 0.1.0

Homebrew-style wrapper for Nix using flake.nix
1
2
3
4
5
6
7
8
9
10
11
use crate::config::VERSION;
use crate::error::Result;

use super::info;

pub fn run(_force: bool) -> Result<()> {
    info(&format!("Current version: {}", VERSION));
    info("Self-upgrade is not available for the Rust version.");
    info("Please update using your package manager or by rebuilding from source.");
    Ok(())
}