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.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nix/flake-template.nix b/src/nix/flake-template.nix
new file mode 100644
index 000000000..fe89e647e
--- /dev/null
+++ b/src/nix/flake-template.nix
@@ -0,0 +1,15 @@
+{
+ name = "hello";
+
+ description = "A flake for building Hello World";
+
+ epoch = 2019;
+
+ requires = [ "nixpkgs" ];
+
+ provides = deps: rec {
+
+ packages.hello = deps.nixpkgs.provides.packages.hello;
+
+ };
+}