Skip to content

Commit

Permalink
feat(devshell): use language.ruby profile
Browse files Browse the repository at this point in the history
for (among other things) native extension compilation prerequisites.
  • Loading branch information
tomeon committed Apr 19, 2024
1 parent e39c8d4 commit c910eeb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
};

devshells.default = {
imports = [
# Ruby support, including prerequisites for compiling native
# extensions.
"${inputs.devshell}/extra/language/ruby.nix"
];

commands = [
{
name = "fmt";
Expand Down Expand Up @@ -134,9 +140,6 @@
'';
}
];

# Needed for compiling native extensions
devshell.packages = with pkgs; [gcc gnumake];
};

overlayAttrs = {
Expand Down

0 comments on commit c910eeb

Please sign in to comment.