Initial commit
This commit is contained in:
commit
23639c69b1
11
flake.nix
Normal file
11
flake.nix
Normal 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
19
trivial/flake.nix
Normal 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")
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue