diff --git a/devshell/.envrc b/devshell/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/devshell/.envrc @@ -0,0 +1 @@ +use flake diff --git a/devshell/flake.nix b/devshell/flake.nix new file mode 100644 index 0000000..3c819ad --- /dev/null +++ b/devshell/flake.nix @@ -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; [ ]; }; + }); +}