flake-info: drop channels for flake commands (#782)
This commit is contained in:
parent
24d786c04f
commit
3f75136ddc
|
@ -22,7 +22,7 @@ pub fn get_derivation_info<T: AsRef<str> + Display>(
|
|||
) -> Result<Vec<FlakeEntry>> {
|
||||
let mut command = Command::with_args("nix", ARGS.iter());
|
||||
command.add_arg_pair("-f", super::EXTRACT_SCRIPT.clone());
|
||||
command.add_arg_pair("-I", "nixpkgs=channel:nixpkgs-unstable");
|
||||
command.add_arg_pair("-I", "nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs-unstable.tar.gz");
|
||||
command.add_args(["--override-flake", "input-flake", flake_ref.as_ref()].iter());
|
||||
command.add_args(["--argstr", "flake", flake_ref.as_ref()].iter());
|
||||
command.add_arg(kind.as_ref());
|
||||
|
|
Loading…
Reference in a new issue