trim-right -> trim-end

This commit is contained in:
Graham Christensen 2019-03-22 17:40:10 -04:00
parent 542e66fcf5
commit 010d85fe4d
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -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);