freehold-cottage/shell.nix

23 lines
477 B
Nix

with (import <nixpkgs> {});
mkShell {
buildInputs = [
bundler
imagemagick
nodejs
nodePackages_latest.html-minifier
nodePackages_latest.npm
pkg-config
ruby
];
shellHook = ''
mkdir -p .nix-gems
export GEM_HOME=$PWD/.nix-gems
export GEM_PATH=$GEM_HOME
export PATH=$GEM_HOME/bin:$PATH
export PATH=$PWD/bin:$PATH
gem list -i ^neocities$ || gem install neocities --no-document
'';
}