feat: migrate to Nix Flakes

This commit is contained in:
Harsh Shandilya 2023-02-16 14:08:24 +00:00
parent 92237372c7
commit a4855b834f
4 changed files with 249 additions and 17 deletions

8
default.nix Normal file
View file

@ -0,0 +1,8 @@
(import (let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}) {src = ./.;})
.defaultNix