mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
26 lines
325 B
Nix
26 lines
325 B
Nix
|
{ pkgs ? import <nixpkgs> { }, ruby-nix }:
|
||
|
|
||
|
with pkgs;
|
||
|
|
||
|
let
|
||
|
gems = ruby-nix.lib pkgs {
|
||
|
name = "ruby-nix-env";
|
||
|
ruby = ruby_3_1;
|
||
|
gemset = ./gemset.nix;
|
||
|
};
|
||
|
in
|
||
|
mkShell {
|
||
|
buildInputs = [
|
||
|
gems.env
|
||
|
gems.ruby
|
||
|
];
|
||
|
|
||
|
packages = [
|
||
|
# Formatters
|
||
|
nixpkgs-fmt
|
||
|
|
||
|
# Language servers
|
||
|
rnix-lsp
|
||
|
];
|
||
|
}
|