feat(nix): flake-utils -> flake-parts

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth
2023-05-27 13:45:28 -04:00
parent f24211e8b5
commit d582bf7f1f
8 changed files with 264 additions and 197 deletions

View File

@ -1 +1,14 @@
(import nix/flake-compat.nix).defaultNix
(
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