Add servers for languages
This commit is contained in:
parent
69b4904bb6
commit
371809eea9
|
@ -21,6 +21,7 @@
|
|||
[python311 virtualenv]
|
||||
++ (with pkgs.python311Packages; [
|
||||
pip
|
||||
python-lsp-server
|
||||
venvShellHook
|
||||
requests
|
||||
jupyter
|
||||
|
|
|
@ -3,21 +3,24 @@
|
|||
|
||||
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
||||
forEachSupportedSystem = f:
|
||||
nixpkgs.lib.genAttrs supportedSystems (system:
|
||||
f {
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
});
|
||||
in
|
||||
{
|
||||
devShells = forEachSupportedSystem ({ pkgs }: {
|
||||
in {
|
||||
devShells = forEachSupportedSystem ({pkgs}: {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
cachix
|
||||
lorri
|
||||
niv
|
||||
nixfmt-classic
|
||||
alejandra
|
||||
statix
|
||||
vulnix
|
||||
haskellPackages.dhall-nix
|
||||
|
|
|
@ -3,21 +3,26 @@
|
|||
|
||||
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
|
||||
forEachSupportedSystem = f:
|
||||
nixpkgs.lib.genAttrs supportedSystems (system:
|
||||
f {
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
});
|
||||
in
|
||||
{
|
||||
devShells = forEachSupportedSystem ({ pkgs }: {
|
||||
in {
|
||||
devShells = forEachSupportedSystem ({pkgs}: {
|
||||
default = pkgs.mkShell {
|
||||
venvDir = "venv";
|
||||
packages = with pkgs; [ python311 ] ++
|
||||
(with pkgs.python311Packages; [
|
||||
packages = with pkgs;
|
||||
[python311]
|
||||
++ (with pkgs.python311Packages; [
|
||||
pip
|
||||
venvShellHook
|
||||
python-lsp-server
|
||||
]);
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue