Skip to content

Commit

Permalink
build: flake.nix with devShell
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Jan 20, 2024
1 parent afd1497 commit afa0a5b
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
61 changes: 61 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

outputs = {
nixpkgs,
flake-utils,
self,
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
packages = [pkgs.nodejs];
};
});
}

0 comments on commit afa0a5b

Please sign in to comment.