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.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nix/flake-template.nix b/src/nix/flake-template.nix
index bec613f6c..eb8eb14fc 100644
--- a/src/nix/flake-template.nix
+++ b/src/nix/flake-template.nix
@@ -1,15 +1,11 @@
{
- name = "hello";
-
description = "A flake for building Hello World";
- epoch = 201906;
-
- requires = [ "nixpkgs" ];
+ edition = 201909;
- provides = deps: rec {
+ outputs = { self, nixpkgs }: {
- packages.hello = deps.nixpkgs.provides.packages.hello;
+ packages.x86_64-linux.hello = nixpkgs.packages.x86_64-linux.hello;
};
}