add flake-compat

This commit is contained in:
WilliButz 2023-09-09 11:35:21 +02:00
parent f89134f9ce
commit 42e9874ace
No known key found for this signature in database
GPG key ID: FB0513677AB15BEA
4 changed files with 41 additions and 0 deletions

10
default.nix Normal file
View file

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