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

sassc hack: how did you figure it out? #6

Open
omnibs opened this issue Oct 29, 2020 · 1 comment
Open

sassc hack: how did you figure it out? #6

omnibs opened this issue Oct 29, 2020 · 1 comment

Comments

@omnibs
Copy link

omnibs commented Oct 29, 2020

Hey, I was struggling with a broken sassc gem and I found this repo with this fix:

gemConfig.sassc = attrs: {
buildInputs = [ libsass ];
shellHook = ''
export SASS_LIBSASS_PATH=${libsass}
'';
};

I'm usually in the dark on how to fix this stuff and I wonder if you can share you how found out you needed to put this shell hook and what variable you needed to set.

Thanks for posting this repo btw, it helped me!

@emptyflask
Copy link
Owner

I'm glad it's helpful!

I don't remember where exactly I learned how to modify the configuration for gems like this, but for sassc specifically, they have build instructions that mention the SASS_LIBSASS_PATH env variable.

I just noticed sassc/libsass are deprecated now, by the way. And I don't think it will build with any of the Dart versions in nixpkgs at the moment...

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

2 participants