Skip to content

Commit

Permalink
add nix devshell
Browse files Browse the repository at this point in the history
  • Loading branch information
dogayuksel committed May 23, 2024
1 parent 6e08bb0 commit 399ffca
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 1 deletion.
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.

30 changes: 30 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
description = "webkeyfinder development shell";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }@inputs:
(flake-utils.lib.eachDefaultSystem
(system: { formatter = nixpkgs.legacyPackages.${system}.nixpkgs-fmt; })) //
(flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default =
pkgs.mkShell {
packages = [
pkgs.curl
pkgs.gnutar
pkgs.gnumake
pkgs.cmake
pkgs.emscripten

pkgs.nodePackages.nodejs
pkgs.nodePackages.yarn
];
};
}
));
}

Large diffs are not rendered by default.

0 comments on commit 399ffca

Please sign in to comment.