mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964afc8b84fe10106f0a90d4bf3acaeee85
15 lines
370 B
Nix
15 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
|