Something went wrong. Try again.
nix flake config
Something went wrong. Try again.
646 B · 29 lines
Nix
at main
123456789101112131415161718192021222324252627282930{ description = "Ruby devshell: interpreter (bundler included), rubocop, solargraph"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; outputs = { nixpkgs, ... }: let forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ]; in { devShells = forAllSystems ( system: let pkgs = nixpkgs.legacyPackages.${system}; in { default = pkgs.mkShell { packages = with pkgs; [ ruby rubocop rubyPackages.solargraph ]; }; } ); };}