Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit e0d907c

Browse files
committed
refactor: simplify shell.nix
1 parent 25a1178 commit e0d907c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

shell.nix

+4-8
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@ with pkgs;
55
mkShell {
66
buildInputs = [ ruby ];
77
shellHook = ''
8-
export PATH=./.gem/bin:"$PATH"
9-
export GEM_HOME=./.gem
10-
export SASS_PATH=.:./stylesheets
11-
12-
if ! command -v discourse_theme >/dev/null; then
13-
echo "Installing discourse_theme CLI"
14-
gem install discourse_theme
15-
fi
8+
mkdir -p .gem
9+
export GEM_HOME=$PWD/.gem
10+
export GEM_PATH=$GEM_HOME
11+
export PATH=$GEM_HOME/bin:$PATH
1612
'';
1713
}

0 commit comments

Comments
 (0)