Skip to content

Commit c910eeb

Browse files
committed
feat(devshell): use language.ruby profile
for (among other things) native extension compilation prerequisites.
1 parent e39c8d4 commit c910eeb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

flake.nix

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@
8080
};
8181

8282
devshells.default = {
83+
imports = [
84+
# Ruby support, including prerequisites for compiling native
85+
# extensions.
86+
"${inputs.devshell}/extra/language/ruby.nix"
87+
];
88+
8389
commands = [
8490
{
8591
name = "fmt";
@@ -134,9 +140,6 @@
134140
'';
135141
}
136142
];
137-
138-
# Needed for compiling native extensions
139-
devshell.packages = with pkgs; [gcc gnumake];
140143
};
141144

142145
overlayAttrs = {

0 commit comments

Comments
 (0)