Simplify shell.nix using builtins.getFlake

Inspired by: 27322b4d38
This commit is contained in:
Sridhar Ratnakumar 2022-06-17 18:08:16 -04:00
parent 7063530bfd
commit 57b31188f4

View file

@ -1,12 +1 @@
# TODO: Remove this after https://github.com/srid/haskell-template/issues/23 (builtins.getFlake ("git+file://" + toString ./.)).devShells.${builtins.currentSystem}.default
(import
(
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/b4a34015c698c7793d592d66adbab377907a2be8.tar.gz";
sha256 = "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=";
}
)
{
src = ./.;
}).shellNix