Fix nix-env

This commit is contained in:
Roey Darwish Dror
2019-04-06 09:46:59 +03:00
parent 936761efb6
commit 0fc90b0bdc

View File

@@ -70,7 +70,7 @@ pub fn run_homebrew(cleanup: bool, run_type: RunType) -> Result<(), Error> {
#[must_use] #[must_use]
pub fn run_nix(run_type: RunType) -> Result<(), Error> { pub fn run_nix(run_type: RunType) -> Result<(), Error> {
let nix = require("nix")?; let nix = require("nix")?;
let nix_env = require("nix_env")?; let nix_env = require("nix-env")?;
print_separator("Nix"); print_separator("Nix");
run_type.execute(&nix).arg("upgrade-nix").check_run()?; run_type.execute(&nix).arg("upgrade-nix").check_run()?;