2024-03-25 06:28:31 +00:00
|
|
|
{
|
2024-07-17 05:55:27 +00:00
|
|
|
description = "A very basic svelte flake";
|
2024-03-25 06:28:31 +00:00
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
2024-07-17 05:55:27 +00:00
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2024-03-25 06:28:31 +00:00
|
|
|
};
|
|
|
|
|
2024-07-17 05:55:27 +00:00
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
|
|
|
devShell = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
yarn
|
|
|
|
nodePackages.svelte-language-server
|
|
|
|
vscode-langservers-extracted
|
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
2024-03-25 06:28:31 +00:00
|
|
|
}
|