We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c758fd commit de17905Copy full SHA for de17905
internal/shellgen/tmpl/glibc-patch.nix.tmpl
@@ -33,8 +33,17 @@
33
}
34
else null) args;
35
36
+ # selectDefaultOutputs takes a derivation and returns a list of its
37
+ # default outputs.
38
selectDefaultOutputs = drv: selectOutputs drv (drv.meta.outputsToInstall or [ drv.out ]);
39
+
40
+ # selectAllOutputs takes a derivation and returns all of its outputs (^*).
41
selectAllOutputs = drv: drv.all;
42
43
+ # selectOutputs takes a derivation and a list of output names, and returns
44
+ # those outputs.
45
+ #
46
+ # Example: selectOutputs nixpkgs#foo [ "out", "lib" ]
47
selectOutputs = drv: builtins.map (output: drv.${output});
48
49
patchDependencies = [
0 commit comments