Flake-enable the project

This commit is contained in:
Gabriella Gonzalez
2022-07-01 14:00:11 -07:00
parent 1881b0385b
commit 670846795d
6 changed files with 150 additions and 33 deletions

9
default.nix Normal file
View File

@@ -0,0 +1,9 @@
(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