musikspider/flake.nix

27 lines
790 B
Nix
Raw Normal View History

2023-04-12 07:16:36 +03:00
{
2023-04-12 07:17:37 +03:00
description = "Web application for musikcube servers";
2023-04-12 07:16:36 +03:00
inputs.parts.url = "github:hercules-ci/flake-parts";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.systems.url = "github:nix-systems/x86_64-linux";
inputs.naked-shell.url = "github:yusdacra/mk-naked-shell";
inputs.naked-shell.flake = false;
2023-04-12 07:16:36 +03:00
outputs = inp:
inp.parts.lib.mkFlake {inputs = inp;} {
systems = import inp.systems;
perSystem = {pkgs, ...}: let
mkNakedShell = pkgs.callPackage inp.naked-shell {};
in {
devShells.default = mkNakedShell {
2023-04-12 07:16:36 +03:00
name = "musikspider-devshell";
2023-04-12 09:47:57 +03:00
packages = with pkgs; [
deno
nodePackages_latest.vscode-json-languageserver
taplo
];
2023-04-12 07:16:36 +03:00
};
};
};
}