Skip to content

Commit f5e3801

Browse files
committed
flake
1 parent 6ec443b commit f5e3801

2 files changed

Lines changed: 86 additions & 0 deletions

File tree

flake.lock

Lines changed: 61 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: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
inputs = {
3+
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
4+
flake-utils.url = "github:numtide/flake-utils";
5+
};
6+
outputs = {
7+
nixpkgs,
8+
flake-utils,
9+
...
10+
}:
11+
flake-utils.lib.eachDefaultSystem (
12+
system: let
13+
pkgs = import nixpkgs {inherit system;};
14+
in rec {
15+
formatter = nixpkgs.legacyPackages.${system}.alejandra;
16+
devShell = pkgs.mkShell {
17+
buildInputs = with pkgs; [
18+
autoconf
19+
libunwind
20+
ncurses
21+
];
22+
};
23+
}
24+
);
25+
}

0 commit comments

Comments
 (0)