Add basic devshell template
This commit is contained in:
parent
7422dcaf19
commit
85999ed2cf
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
description = "A basic flake from samw";
|
||||||
|
inputs = {
|
||||||
|
utils.url = "github:numtide/flake-utils";
|
||||||
|
devshell.url = "github:numtide/devshell";
|
||||||
|
};
|
||||||
|
outputs = { self, nixpkgs, utils, devshell }:
|
||||||
|
utils.lib.eachDefaultSystem (system: {
|
||||||
|
devShell = let
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
|
||||||
|
overlays = [ devshell.overlay ];
|
||||||
|
};
|
||||||
|
in pkgs.devshell.mkShell { packages = with pkgs; [ ]; };
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in New Issue