Skyler Grey | 453b999 | 2023-03-05 05:48:42 +0000 | [diff] [blame] | 1 | { |
| 2 | description = "A basic flake with a shell"; |
TheCodedProf | a0e072a | 2023-04-22 19:57:56 -0400 | [diff] [blame^] | 3 | inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; |
Skyler Grey | 453b999 | 2023-03-05 05:48:42 +0000 | [diff] [blame] | 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 { |
Skyler Grey | 25d2b3f | 2023-03-08 16:10:00 +0000 | [diff] [blame] | 11 | packages = [ pkgs.nodejs-19_x pkgs.nodePackages_latest.yarn ]; |
TheCodedProf | a0e072a | 2023-04-22 19:57:56 -0400 | [diff] [blame^] | 12 | shellHook = '' |
| 13 | unset name |
| 14 | ''; |
Skyler Grey | 453b999 | 2023-03-05 05:48:42 +0000 | [diff] [blame] | 15 | }; |
| 16 | }); |
TheCodedProf | a0e072a | 2023-04-22 19:57:56 -0400 | [diff] [blame^] | 17 | } |