diff --git a/ofborg/src/tasks/eval/stdenvs.rs b/ofborg/src/tasks/eval/stdenvs.rs index 8972561..b54cf7c 100644 --- a/ofborg/src/tasks/eval/stdenvs.rs +++ b/ofborg/src/tasks/eval/stdenvs.rs @@ -130,7 +130,7 @@ mod tests { let remote = env::var("NIX_REMOTE").unwrap_or("".to_owned()); let nix = nix::Nix::new(String::from("x86_64-linux"), remote, 1200, None); - let mut stdenv = Stdenvs::new(nix.clone(), PathBuf::from(nixpkgs.trim_right())); + let mut stdenv = Stdenvs::new(nix.clone(), PathBuf::from(nixpkgs.trim_end())); stdenv.identify(System::X8664Linux, StdenvFrom::Before); stdenv.identify(System::X8664Darwin, StdenvFrom::Before);