From 43b33f4f4ea5a8281d441391aec842b4bcaf2d7f Mon Sep 17 00:00:00 2001 From: geb <95725932+underscoregeb@users.noreply.github.com> Date: Wed, 11 Jun 2025 15:09:26 -0500 Subject: [PATCH] fix: nix-shell for shell installation (github #60) --- core/src/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/system.rs b/core/src/system.rs index a231737..e9fb7f2 100644 --- a/core/src/system.rs +++ b/core/src/system.rs @@ -259,7 +259,7 @@ pub fn shell_package(data: &Data, package_manager: &str, package: &str) -> Strin match package_manager { "guix" => format!("guix shell {} -- {}", package, command), "nix" => format!( - r#"nix shell nixpkgs#{} --command "{};return""#, + r#"nix-shell -p {} --command "{};return""#, package, command ), _ => unreachable!("Only `nix` and `guix` are supported for shell installation"),