Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to use extended Hugo Version #16

Closed
DirtyF opened this issue Jul 10, 2018 · 3 comments
Closed

Allow to use extended Hugo Version #16

DirtyF opened this issue Jul 10, 2018 · 3 comments

Comments

@DirtyF
Copy link

DirtyF commented Jul 10, 2018

- Do you want to request a feature or report a bug?

It's a feature 🙏 , not a bug.

- What is the current behavior?

From version 0.43 Hugo comes in two flavours, extended version allows native Sass compilation.
Netlify currently does not support extended version:

2:28:30 PM: ERROR 2018/07/10 12:28:30 error: failed to transform resource: failed to transform “scss/main.scss” (text/x-scss): this feature is not available in your current Hugo version

- What is the expected behavior?

Either download the extended binary by default from now on or allow to specify something like 0.43/extended in netlify.toml.

_extended is added to the release path before the version number:

https://github.com/gohugoio/hugo/releases/download/v0.43/hugo_0.43_Linux-64bit.tar.gz
https://github.com/gohugoio/hugo/releases/download/v0.43/hugo_extended_0.43_Linux-64bit.tar.gz

@jensamunch
Copy link

jensamunch commented Jul 10, 2018

i tried manually including binary in the repo - as a quick-fix - doesn't work:

6:20:18 PM: Executing user command: ./hugo --config paceup.com.toml,config.toml
6:20:18 PM: ./hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./hugo)
6:20:18 PM: ./hugo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./hugo)

@fool
Copy link

fool commented Jul 10, 2018

drat. We apparently ALSO need to install the dependencies for CGO bindings: netlify/build-image#183 so that this will even work.

@calavera
Copy link
Contributor

calavera commented Jul 16, 2018

Fixed by #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants