Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
edolstra committed Jun 4, 2020
0 parents commit ae3dde1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
18 changes: 18 additions & 0 deletions flake.nix
@@ -0,0 +1,18 @@
{
description = "A collection of flake templates";

outputs = { self }: {

templates = {

trivial = {
path = ./trivial;
description = "A very basic flake";
};

};

defaultTemplate = self.templates.trivial;

};
}
11 changes: 11 additions & 0 deletions trivial/flake.nix
@@ -0,0 +1,11 @@
{
description = "A very basic flake";

outputs = { self, nixpkgs }: {

packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;

defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello;

};
}

0 comments on commit ae3dde1

Please sign in to comment.