From c910eeb11b52d1cbd29a912fe61132178c63450c Mon Sep 17 00:00:00 2001 From: Matt Schreiber Date: Wed, 17 Apr 2024 23:42:39 -0400 Subject: [PATCH] feat(devshell): use `language.ruby` profile for (among other things) native extension compilation prerequisites. --- flake.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 512a143..b8b9991 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,12 @@ }; devshells.default = { + imports = [ + # Ruby support, including prerequisites for compiling native + # extensions. + "${inputs.devshell}/extra/language/ruby.nix" + ]; + commands = [ { name = "fmt"; @@ -134,9 +140,6 @@ ''; } ]; - - # Needed for compiling native extensions - devshell.packages = with pkgs; [gcc gnumake]; }; overlayAttrs = {