mirror of
https://github.com/nix-community/comma.git
synced 2024-10-26 05:58:05 +03:00
check for nixpkgs= instead of nixpkgs in use_channel
nixpkgs may be path element in a non nixpkgs entry
This commit is contained in:
parent
87f7d49716
commit
e27a636990
@ -114,7 +114,7 @@ fn main() -> ExitCode {
|
||||
Ok(val) => val,
|
||||
Err(_) => "".to_owned(),
|
||||
}
|
||||
.contains("nixpkgs");
|
||||
.contains("nixpkgs=");
|
||||
|
||||
if args.print_package {
|
||||
println!(
|
||||
|
Loading…
Reference in New Issue
Block a user