mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-20 07:00:09 +01:00
16 lines
370 B
Nix
16 lines
370 B
Nix
|
|
(import (
|
||
|
|
let
|
||
|
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||
|
|
inherit (lock.nodes.flake-compat.locked) url rev narHash;
|
||
|
|
in
|
||
|
|
builtins.fetchTarball {
|
||
|
|
url = "${url}/archive/${rev}.tar.gz";
|
||
|
|
sha256 = narHash;
|
||
|
|
}
|
||
|
|
) {
|
||
|
|
src = ./.;
|
||
|
|
copySourceTreeToStore = false;
|
||
|
|
useBuiltinsFetchTree = true;
|
||
|
|
})
|
||
|
|
.defaultNix
|