diff --git a/recipes/nushell/recipe.toml b/recipes/nushell/recipe.toml
index 95e59a5f79f2db641711e78016c58be765bae56e..27c9c8d610f8151587c5fa5206ac50df1c4e7c54 100644
--- a/recipes/nushell/recipe.toml
+++ b/recipes/nushell/recipe.toml
@@ -1,5 +1,4 @@
 #TODO: build fails to link, we need the following in relibc
-# - cfmakeraw
 # - getgrgid_r
 # - getgrouplist
 # Additionally, openssl fails to link fprintf and sscanf
@@ -12,5 +11,10 @@ branch = "redox"
 dependencies = [
   "openssl"
 ]
-template = "cargo"
+template = "custom"
+script = """
+export OPENSSL_DIR="${COOKBOOK_SYSROOT}"
+export OPENSSL_STATIC="true"
+cookbook_cargo
+"""