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:
parent
c50967c1f1
commit
c739df3d78
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ impl Derivation {
|
||||||
write_arguments(writer, &self.arguments)?;
|
write_arguments(writer, &self.arguments)?;
|
||||||
write_char(writer, COMMA)?;
|
write_char(writer, COMMA)?;
|
||||||
|
|
||||||
write_enviroment(writer, &self.environment)?;
|
write_environment(writer, &self.environment)?;
|
||||||
|
|
||||||
write_char(writer, PAREN_CLOSE)?;
|
write_char(writer, PAREN_CLOSE)?;
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ pub fn write_arguments(writer: &mut impl Write, arguments: &[String]) -> Result<
|
||||||
Ok(())
|
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
|
where
|
||||||
E: IntoIterator<Item = (K, V)>,
|
E: IntoIterator<Item = (K, V)>,
|
||||||
K: AsRef<[u8]>,
|
K: AsRef<[u8]>,
|
||||||
|
|
Loading…
Reference in a new issue