Add flake-compat files

This commit is contained in:
Artturin 2024-10-01 23:56:48 +03:00
parent caa9e03a72
commit b8da300c94
4 changed files with 39 additions and 0 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