mirror of
https://github.com/mipmip/home-manager-option-search.git
synced 2024-08-17 11:00:24 +03:00
17 lines
356 B
Nix
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
|
|
'';
|
|
}
|