diff --git a/README.md b/README.md index 8added0..a7dd872 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ Afterwards, create a `default.nix` file containing the following: ( 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"; + url = with lock.nodes.flake-compat.locked; + "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; sha256 = lock.nodes.flake-compat.locked.narHash; } )