Skyler Grey | 453b999 | 2023-03-05 05:48:42 +0000 | [diff] [blame^] | 1 | { |
2 | description = "A basic flake with a shell"; | ||||
3 | inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | ||||
4 | inputs.flake-utils.url = "github:numtide/flake-utils"; | ||||
5 | |||||
6 | outputs = { self, nixpkgs, flake-utils }: | ||||
7 | flake-utils.lib.eachDefaultSystem (system: let | ||||
8 | pkgs = nixpkgs.legacyPackages.${system}; | ||||
9 | in { | ||||
10 | devShells.default = pkgs.mkShell { | ||||
11 | packages = [ pkgs.yarn pkgs.nodejs-19_x ]; | ||||
12 | }; | ||||
13 | }); | ||||
14 | } |