mirror of
https://github.com/hsjobeki/noogle.git
synced 2024-11-24 06:35:05 +03:00
update false documented builtins.derivation
This commit is contained in:
parent
128d5dad12
commit
cdbad56a42
@ -24,7 +24,7 @@
|
||||
},
|
||||
"deepSeq": { "fn_type": "deepSeq :: a -> b -> b" },
|
||||
"derivation": {
|
||||
"fn_type": "derivation :: {\n builder :: String | Path | Package,\n name :: String,\n system :: String,\n args :: ? [ String ],\n outputs :: ? [ String ],\n __contentAddressed :: ? Bool,\n __structuredAttrs :: ? Bool,\n allowedReferences :: ? [ String ],\n allowedRequisites :: ? [ String ],\n disallowedReferences :: ? [ String ],\n disallowedRequisites :: ? [ String ],\n exportReferenceGraph :: ? [ String | Package ],\n impureEnvVars :: ? [ String ],\n outputHash :: ? String,\n outputHashAlgo :: ? String,\n outputHashMode :: ? String,\n passAsFile :: ? [ String ],\n preferLocalBuild :: ? [ String ],\n allowSubstitutes :: ? Bool,\n} -> Derivation"
|
||||
"fn_type": "let \n Derivation :: {\n all :: [ Derivation ];\n builder :: String;\n drvAttrs :: {\n builder = String; \n name = String;\n outputs = [ output :: String ]; \n system = String;\n ${additionalArgs} :: String;\n }\n drvPath :: String;\n name :: String;\n outPath :: String;\n outputName :: String;\n outputs :: [ output :: String ];\n system :: String;\n type :: \"derivation\";\n ${output} :: Derivation;\n ${additionalArgs} :: String;\n };\nin\n builtins.derivation :: {\n name :: String;\n outputs :: [ output :: String ] ? [ \"out\" ];\n builder :: String;\n system :: String;\n ${additionalArgs} :: String;\n } -> Derivation"
|
||||
},
|
||||
"dirOf": { "fn_type": "dirOf :: String -> String" },
|
||||
"div": { "fn_type": "div :: Number -> Number -> Number" },
|
||||
|
@ -1,21 +1,29 @@
|
||||
derivation :: {
|
||||
builder :: String | Path | Package,
|
||||
name :: String,
|
||||
system :: String,
|
||||
args :: ? [ String ],
|
||||
outputs :: ? [ String ],
|
||||
__contentAddressed :: ? Bool,
|
||||
__structuredAttrs :: ? Bool,
|
||||
allowedReferences :: ? [ String ],
|
||||
allowedRequisites :: ? [ String ],
|
||||
disallowedReferences :: ? [ String ],
|
||||
disallowedRequisites :: ? [ String ],
|
||||
exportReferenceGraph :: ? [ String | Package ],
|
||||
impureEnvVars :: ? [ String ],
|
||||
outputHash :: ? String,
|
||||
outputHashAlgo :: ? String,
|
||||
outputHashMode :: ? String,
|
||||
passAsFile :: ? [ String ],
|
||||
preferLocalBuild :: ? [ String ],
|
||||
allowSubstitutes :: ? Bool,
|
||||
} -> Derivation
|
||||
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
|
Loading…
Reference in New Issue
Block a user