Introduce a new overrideInputs on {default,shell}Nix #49

Closed
ckiee wants to merge 2 commits from ckiee/add-overrideInputs into master
Showing only changes of commit 98797efd23 - Show all commits

View file

@ -18,7 +18,8 @@ Afterwards, create a `default.nix` file containing the following:
( (
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball { 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; sha256 = lock.nodes.flake-compat.locked.narHash;
} }
) )