Skip to content

Commit

Permalink
nixify (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonkaliski authored Sep 9, 2024
1 parent 12ccd5f commit a07e989
Show file tree
Hide file tree
Showing 5 changed files with 3,556 additions and 2,905 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

26 changes: 26 additions & 0 deletions flake.lock

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

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

outputs = { self, nixpkgs }:
let
mkDevShell = system:
let pkgs = nixpkgs.legacyPackages.${system};
in pkgs.mkShell { buildInputs = with pkgs; [ nodejs_20 pnpm ]; };
in {
devShells.aarch64-darwin.default = mkDevShell "aarch64-darwin";
devShells.x86_64-linux.default = mkDevShell "x86_64-linux";
};
}
Loading

0 comments on commit a07e989

Please sign in to comment.