Initial commit

This commit is contained in:
Nox Sluijtman 2023-10-22 18:11:56 +02:00
commit 23639c69b1
2 changed files with 30 additions and 0 deletions

11
flake.nix Normal file
View file

@ -0,0 +1,11 @@
{ description = "My collection of flake templates";
outputs = { self }: {
templates = {
trivial = {
path = ./trivial;
description = "What I consider to be the bare minimum flake";
};
};
defaultTemplate = self.templates.trivial;
};
}

19
trivial/flake.nix Normal file
View file

@ -0,0 +1,19 @@
{ description = "SQLite test environment";
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-23.05;
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils}:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in {
packages = rec {
default = throw "put derivation information here";
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
(throw "put packages here")
];
};
});
}