mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-22 05:36:09 +03:00
17 lines
388 B
Nix
17 lines
388 B
Nix
let
|
|
lock = builtins.fromJSON (builtins.readFile ./test/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 = builtins.path {
|
|
path = ./.;
|
|
name = "crane";
|
|
};
|
|
};
|
|
in
|
|
flake.shellNix
|