rest of the split migration
This commit is contained in:
17
modules/dev/ruby/common.nix
Normal file
17
modules/dev/ruby/common.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs) ruby;
|
||||
inherit (pkgs.rubyPackages) solargraph;
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit packages;
|
||||
devShell = pkgs.mkShell {
|
||||
inherit packages;
|
||||
name = "ruby-dev-shell";
|
||||
shellHook = ''
|
||||
echo "💎 Ruby dev environment"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user