diff --git a/recipes/nushell/recipe.toml b/recipes/nushell/recipe.toml index 95e59a5f7..27c9c8d61 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 +"""