1 2 3 4 5 6 7 8 9 10 11 12 13 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
Consider giving Nix/NixOS a try! <3