Skip to content

Instantly share code, notes, and snippets.

@InfiniteCoder01
Last active August 23, 2024 08:41
Show Gist options
  • Save InfiniteCoder01/e3b8f14405114a7cff1618d807612545 to your computer and use it in GitHub Desktop.
Save InfiniteCoder01/e3b8f14405114a7cff1618d807612545 to your computer and use it in GitHub Desktop.
Template flake
{
inputs = {
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system: let
pkgs = (import nixpkgs { inherit system; });
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
hello
];
};
formatter = pkgs.nixpkgs-fmt;
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment