blob: 741a2bd1e49a8aa5ac5225be6704bcfafc6921e6 [file] [log] [blame]
Skyler Grey453b9992023-03-05 05:48:42 +00001{
2 description = "A basic flake with a shell";
TheCodedProfa0e072a2023-04-22 19:57:56 -04003 inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
Skyler Grey453b9992023-03-05 05:48:42 +00004 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 Grey25d2b3f2023-03-08 16:10:00 +000011 packages = [ pkgs.nodejs-19_x pkgs.nodePackages_latest.yarn ];
TheCodedProfa0e072a2023-04-22 19:57:56 -040012 shellHook = ''
13 unset name
14 '';
Skyler Grey453b9992023-03-05 05:48:42 +000015 };
16 });
TheCodedProfa0e072a2023-04-22 19:57:56 -040017}