nix-templates/devshell/flake.nix

18 lines
453 B
Nix
Raw Normal View History

2022-05-26 23:43:22 +01:00
{
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; [ ]; };
});
}