mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 23:14:12 +03:00
35 lines
438 B
Nix
35 lines
438 B
Nix
|
{lib, ...}: let
|
||
|
l = builtins // lib;
|
||
|
|
||
|
mkDiscovereredProject = {
|
||
|
name,
|
||
|
relPath,
|
||
|
subsystem,
|
||
|
subsystemInfo,
|
||
|
translators,
|
||
|
}: {
|
||
|
inherit
|
||
|
name
|
||
|
relPath
|
||
|
subsystem
|
||
|
subsystemInfo
|
||
|
translators
|
||
|
;
|
||
|
};
|
||
|
|
||
|
mkPathSource = {
|
||
|
path,
|
||
|
rootName,
|
||
|
rootVersion,
|
||
|
} @ args:
|
||
|
args
|
||
|
// {
|
||
|
type = "path";
|
||
|
};
|
||
|
in {
|
||
|
inherit
|
||
|
mkDiscovereredProject
|
||
|
mkPathSource
|
||
|
;
|
||
|
}
|