mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-01 23:25:11 +01:00
fix: nix-shell for shell installation (github #60)
This commit is contained in:
parent
ce6c71fe58
commit
43b33f4f4e
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ pub fn shell_package(data: &Data, package_manager: &str, package: &str) -> Strin
|
||||||
match package_manager {
|
match package_manager {
|
||||||
"guix" => format!("guix shell {} -- {}", package, command),
|
"guix" => format!("guix shell {} -- {}", package, command),
|
||||||
"nix" => format!(
|
"nix" => format!(
|
||||||
r#"nix shell nixpkgs#{} --command "{};return""#,
|
r#"nix-shell -p {} --command "{};return""#,
|
||||||
package, command
|
package, command
|
||||||
),
|
),
|
||||||
_ => unreachable!("Only `nix` and `guix` are supported for shell installation"),
|
_ => unreachable!("Only `nix` and `guix` are supported for shell installation"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue