nixos-config/lib/lisp.nix

10 lines
273 B
Nix
Raw Normal View History

2021-04-15 22:15:31 -07:00
{ pkgs, ... }:
with pkgs.lib;
let
in rec {
gather-dependencies = pkg: unique (pkg.propagatedBuildInputs ++ (concatMap gather-dependencies pkg.propagatedBuildInputs));
lisp-source-registry = pkg: concatStringsSep ":" (map (p: "${p}//") (gather-dependencies pkg));
}