'crude' template
This commit is contained in:
parent
fc54843031
commit
2e47030987
5 changed files with 221 additions and 0 deletions
31
crude/flake.nix
Normal file
31
crude/flake.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
description = "Extremely basic flake";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
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 = {
|
||||
default = throw "put derivation information here";
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
(throw "put packages here")
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue