blob: 7b392f1de44e14d10d4be8e73f693260fb8b3bbc (
plain) (
tree)
|
|
{ pkgs }:
with pkgs;
rec {
flakeCompat = import ./flake-compat.nix;
nodeEnv = import ./node-env.nix;
fetchedGithub = path:
let
json = lib.importJSON path;
in rec {
version = json.tag;
pname = json.meta.name;
name = "${pname}-${version}";
src = fetchFromGitHub json.github;
};
} // (if builtins.pathExists ./private then callPackage ./private {} else {})
|