mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-27 02:52:02 +03:00
12 lines
321 B
Nix
12 lines
321 B
Nix
|
let
|
||
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||
|
locked = lock.nodes.flake-compat.locked;
|
||
|
compat = fetchTarball {
|
||
|
url = "https://github.com/${locked.owner}/${locked.repo}/archive/${locked.rev}.tar.gz";
|
||
|
sha256 = locked.narHash;
|
||
|
};
|
||
|
|
||
|
flake = import compat { src = ./.; };
|
||
|
in
|
||
|
flake.defaultNix
|