Skip to content

Commit d510f36

Browse files
committed
Add nix flake
1 parent a27ba2d commit d510f36

File tree

2 files changed

+83
-0
lines changed

2 files changed

+83
-0
lines changed

flake.lock

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
description = "Nix development shell for this repo.";
3+
inputs = {
4+
nixpkgs.url = "github:nixos/nixpkgs";
5+
flake-utils.url = "github:numtide/flake-utils";
6+
};
7+
outputs = { self, nixpkgs, flake-utils }:
8+
flake-utils.lib.eachDefaultSystem
9+
(system:
10+
let pkgs = import nixpkgs { inherit system; }; in
11+
{
12+
devShells.default = with pkgs; mkShell {
13+
buildInputs = [
14+
nodejs
15+
pnpm
16+
pandoc
17+
dotnet-sdk
18+
];
19+
packages = [];
20+
};
21+
}
22+
);
23+
}

0 commit comments

Comments
 (0)