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::error::Result;
use crate::nix::Nix;

use super::{info, success};

pub fn run() -> Result<()> {
    info("Running garbage collection...");
    Nix::gc()?;
    success("Garbage collection complete");
    Ok(())
}