nix-build compatible

This commit is contained in:
SnO2WMaN 2022-08-17 06:28:22 +09:00
parent d2a7243219
commit a227f6e432

12
default.nix Normal file
View file

@ -0,0 +1,12 @@
(
import
(
fetchTarball
(with (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flake-compat.locked; {
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
sha256 = narHash;
})
)
{src = ./.;}
)
.defaultNix