Skip to content

Commit

Permalink
Merge branch 'main' into sbt-typelevel
Browse files Browse the repository at this point in the history
  • Loading branch information
rossabaker committed Jan 16, 2022
2 parents 678c910 + 146c4f7 commit fdd95a3
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 19 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
102 changes: 102 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
description = "Provision a dev environment";

inputs = {
typelevel-nix.url = "github:rossabaker/typelevel-nix";
nixpkgs.follows = "typelevel-nix/nixpkgs";
flake-utils.follows = "typelevel-nix/flake-utils";
};

outputs = { self, nixpkgs, flake-utils, typelevel-nix }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ typelevel-nix.overlay ];
};
in
{
devShell = pkgs.devshell.mkShell {
imports = [ typelevel-nix.typelevelShell ];
name = "my-project-shell";
typelevelShell = {
jdk.package = pkgs.jdk8;
sbtMicrosites = {
enable = true;
siteDir = ./site;
};
};
};
}
);
}
19 changes: 0 additions & 19 deletions shell.nix

This file was deleted.

Loading

0 comments on commit fdd95a3

Please sign in to comment.