Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCirdo committed Jan 8, 2024
1 parent eee5deb commit 82f41e3
Show file tree
Hide file tree
Showing 2 changed files with 86 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.

25 changes: 25 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = import nixpkgs {inherit system;};
in rec {
formatter = nixpkgs.legacyPackages.${system}.alejandra;
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
autoconf
libunwind
ncurses
];
};
}
);
}

0 comments on commit 82f41e3

Please sign in to comment.