maint: add package shim for nix flake

This commit is contained in:
Jeremy Wall 2024-02-19 08:42:29 -05:00
parent a959280ed7
commit 2cee886fa2

11
default.nix Normal file
View File

@ -0,0 +1,11 @@
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
(import (
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