2023-02-12 23:44:18 +03:00
|
|
|
let
|
|
|
|
Derivation :: {
|
|
|
|
all :: [ Derivation ];
|
|
|
|
builder :: String;
|
|
|
|
drvAttrs :: {
|
|
|
|
builder = String;
|
|
|
|
name = String;
|
|
|
|
outputs = [ output :: String ];
|
|
|
|
system = String;
|
|
|
|
${additionalArgs} :: String;
|
|
|
|
}
|
|
|
|
drvPath :: String;
|
|
|
|
name :: String;
|
|
|
|
outPath :: String;
|
|
|
|
outputName :: String;
|
|
|
|
outputs :: [ output :: String ];
|
|
|
|
system :: String;
|
|
|
|
type :: "derivation";
|
|
|
|
${output} :: Derivation;
|
|
|
|
${additionalArgs} :: String;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
builtins.derivation :: {
|
|
|
|
name :: String;
|
|
|
|
outputs :: [ output :: String ] ? [ "out" ];
|
|
|
|
builder :: String;
|
|
|
|
system :: String;
|
|
|
|
${additionalArgs} :: String;
|
|
|
|
} -> Derivation
|