about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/profpatsch/nman/nman.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/profpatsch/nman/nman.rs b/pkgs/profpatsch/nman/nman.rs
index 48a30e73..61bbdf48 100644
--- a/pkgs/profpatsch/nman/nman.rs
+++ b/pkgs/profpatsch/nman/nman.rs
@@ -164,11 +164,10 @@ fn build_man_page(drv: DrvWithOutput, section: &str, page: &str, tempdir: &TempD
     let first_path = build.stdout.split(|c| char::from(*c) == '\n')
                           .next().ok_or(NmanError::Build)?;
 
-    // TODO(sterni): 😑😑😑😑😑😑😑😑😑😑😑
-    let mut path = PathBuf::from(OsStr::from_bytes(first_path))
-                       .join("share/man")
-                       .join(format!("man{}", section))
-                       .join(page);
+    let mut path = PathBuf::from(OsStr::from_bytes(first_path));
+    path.push("share/man");
+    path.push(format!("man{}", section));
+    path.push(page);
 
     path.set_extension(format!("{}.gz", section));