Skip to content

Instantly share code, notes, and snippets.

@InfiniteCoder01
Created November 4, 2023 16:07
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 = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
hello
];
};
}
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment