Last active
August 23, 2024 08:41
-
-
Save InfiniteCoder01/e3b8f14405114a7cff1618d807612545 to your computer and use it in GitHub Desktop.
Template flake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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