refactor(nix-compat/derivation): fix function name

typo: write_enviroment -> write_environment.
Change-Id: I1a2dc826c0bf71f6ba97fe41c4d44619b5e6beff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9739
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-10-15 16:11:48 +01:00 committed by flokli
parent c50967c1f1
commit c739df3d78
2 changed files with 2 additions and 2 deletions

View file

@ -174,7 +174,7 @@ pub fn write_arguments(writer: &mut impl Write, arguments: &[String]) -> Result<
Ok(())
}
pub fn write_enviroment<E, K, V>(writer: &mut impl Write, environment: E) -> Result<(), io::Error>
pub fn write_environment<E, K, V>(writer: &mut impl Write, environment: E) -> Result<(), io::Error>
where
E: IntoIterator<Item = (K, V)>,
K: AsRef<[u8]>,