30 lines
718 B
Nix
30 lines
718 B
Nix
{
|
|
description = "perspective-test";
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
inputs.flake-compat = {
|
|
url = "github:edolstra/flake-compat";
|
|
flake = false;
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = { allowUnfree = true; };
|
|
};
|
|
in
|
|
{
|
|
devShell = pkgs.mkShell rec {
|
|
buildInputs = with pkgs; [
|
|
bun
|
|
tailwindcss
|
|
pkgs.nodePackages.typescript-language-server
|
|
];
|
|
shellHook = ''
|
|
'';
|
|
};
|
|
});
|
|
}
|