2 pkgs ? import <nixpkgs> { },
6 pkgs.runCommandNoCC "${feature}-present-structured"
8 __structuredAttrs = true;
9 requiredSystemFeatures = [ feature ];
12 if [[ -e /${feature}-files ]]; then
15 echo "The host declares ${feature} support, but doesn't expose /${feature}-files" >&2
16 echo "Do we fail to parse __structuredAttrs=true derivations?" >&2