Flake compat

This commit is contained in:
Filippo Berto 2024-01-11 22:10:45 +01:00
parent 038bcbfff1
commit dee271511d
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 41 additions and 14 deletions

10
default.nix Normal file
View file

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