this repo has no description
Nix 96.1%
Makefile 2.2%
Just 1.6%
Shell 0.1%
21 1 0

Clone this repository

https://tangled.org/syvl.org/simple
git@tangled.org:syvl.org/simple

For self-hosted knots, clone URLs may differ based on your setup.

README.md

simple#

This allows users to import flakes using import <path to flake>, or import them using a local fork of simple using import <path to flake> <path to local fork> or import <path to local fork> <path to flake>.

let
  nodes = if (builtins.pathExists ./flake.lock) then
    (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes
  else {
    root.inputs.simple = "simple";
    simple.locked.rev = "main";
  };
  inherit (nodes.${nodes.root.inputs.simple}) locked;
  url =
    locked.url or "https://tangled.org/@syvl.org/simple/archive/${locked.rev}";
  simple = if (builtins ? getFlake) then
    (builtins.getFlake url)
  else
    (import (fetchTarball {
      inherit url;
      ${if (locked ? narHash) then "sha256" else null} = locked.narHash;
    }));
in (builtins.getFlake or simple) (toString ./.)