blob: 7b392f1de44e14d10d4be8e73f693260fb8b3bbc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ 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 {})
|