mirror of
https://github.com/wlcx/nix-templates.git
synced 2026-09-22 15:08:22 +01:00
Add basic devshell template
This commit is contained in:
@@ -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; [ ]; };
|
||||||
|
});
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user