1
2
3
4
5
6
7
8
9
10
11
12
|
with import ./config.nix;
mkDerivation {
name = "test";
__structuredAttrs = true;
outputs = [ "out" "man" ];
outputChecks.out.disallowedReferences = [ "man" ];
buildCommand = ''
source $NIX_ATTRS_SH_FILE
mkdir ''${outputs[out]}
mkdir ''${outputs[man]}
'';
}
|