♻️ backwards compatibility for non-flake systems

This commit is contained in:
walkah committed 2022-05-08 14:06:24 -04:00
1 parent ea5ba53e3c
commit ef245c59a7
4 files changed
+58 -29

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
(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