mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-24 22:26:46 +00:00
20 lines
458 B
Nix
20 lines
458 B
Nix
(
|
|
import
|
|
(
|
|
let
|
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
nodeName = lock.nodes.root.inputs.flake-compat;
|
|
in
|
|
fetchTarball {
|
|
url =
|
|
lock.nodes.${nodeName}.locked.url
|
|
or "https://github.com/edolstra/flake-compat/archive/${
|
|
lock.nodes.${nodeName}.locked.rev
|
|
}.tar.gz";
|
|
sha256 = lock.nodes.${nodeName}.locked.narHash;
|
|
}
|
|
)
|
|
{src = ./.;}
|
|
)
|
|
.defaultNix
|