added default nix

This commit is contained in:
Sebastian Wendel 2023-04-07 16:43:41 +02:00
parent a2c92466b9
commit 7bb61e261a
No known key found for this signature in database
GPG key ID: 14ED8B1EC3371ECE

14
default.nix Normal file
View file

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