🩹 fix up nix setup

This commit is contained in:
2022-05-26 21:42:09 -04:00
parent 5b8f1f40fe
commit 7029850f65
3 changed files with 9 additions and 200 deletions

View File

@@ -19,6 +19,15 @@
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ ruby nodejs ];
shellHook = ''
mkdir -p .gems
export GEM_HOME=$PWD/.gems
export GEM_PATH=$GEM_HOME
export PATH=$PWD/bin:$GEM_HOME/bin:$PATH
# https://github.com/sass/sassc-ruby/issues/148#issuecomment-644450274
bundle config build.sassc --disable-lto
'';
};
}
);