Pass --meta to nix-env (#421)
Since Nix 2.6 (https://github.com/NixOS/nix/pull/5883) nix-env doesn't output the `meta` attribute unless this flag is passed.
This commit is contained in:
parent
a8275b15a1
commit
7d80f60fd9
|
@ -27,6 +27,7 @@ pub fn get_nixpkgs_info<T: AsRef<str> + Display>(nixpkgs_channel: T) -> Result<V
|
||||||
"config",
|
"config",
|
||||||
format!("import {}", script_path.to_str().unwrap()).as_str(),
|
format!("import {}", script_path.to_str().unwrap()).as_str(),
|
||||||
"-qa",
|
"-qa",
|
||||||
|
"--meta",
|
||||||
"--json",
|
"--json",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue