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:
Naïm Favier 2022-01-25 16:02:29 +01:00 committed by GitHub
parent a8275b15a1
commit 7d80f60fd9
Failed to generate hash of commit

View file

@ -27,6 +27,7 @@ pub fn get_nixpkgs_info<T: AsRef<str> + Display>(nixpkgs_channel: T) -> Result<V
"config",
format!("import {}", script_path.to_str().unwrap()).as_str(),
"-qa",
"--meta",
"--json",
]);