blob: 7b3a45b91681768327ef974ac97f60fccf882453 (
plain) (
tree)
|
|
{
# list of package attribute names to get at run time
packageNamesAtRuntimeJsonPath
,
}:
let
pkgs = import <nixpkgs> { };
getPkg = pkgName: pkgs.${pkgName};
packageNamesAtRuntime = builtins.fromJSON (builtins.readFile packageNamesAtRuntimeJsonPath);
runtime = map getPkg packageNamesAtRuntime;
in
pkgs.symlinkJoin {
name = "symlink-farm";
paths = runtime;
}
|