home-manager-option-search/shell.nix
2024-02-11 15:25:23 +01:00

17 lines
356 B
Nix

with (import <nixpkgs> {});
mkShell {
buildInputs = [
ruby_3_3
];
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 ^bundler$ -v 1.17.3 || gem install bundler --version=1.17.3 --no-document
bundle
'';
}