aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake-template.nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/flake-template.nix')
-rw-r--r--src/nix/flake-template.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nix/flake-template.nix b/src/nix/flake-template.nix
new file mode 100644
index 000000000..195aef2cc
--- /dev/null
+++ b/src/nix/flake-template.nix
@@ -0,0 +1,11 @@
+{
+ description = "A flake for building Hello World";
+
+ outputs = { self, nixpkgs }: {
+
+ packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
+
+ defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello;
+
+ };
+}