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.
/etc
1 parent 11a559c commit 66792eeCopy full SHA for 66792ee
lib/mk-component-set.nix
@@ -122,7 +122,8 @@ let
122
}
123
if [[ -e "$out/etc" ]]; then
124
handleEtc "$out/etc/bash_completion.d" "$out/share/bash-completion/completions"
125
- rmdir $out/etc || { echo "Installer tries to install to /etc: $(ls $out/etc)"; exit 1; }
+ # Remove if empty. Skip if produced `/etc/target-spec-json-schema.json`.
126
+ rmdir --ignore-fail-on-non-empty $out/etc
127
fi
128
'';
129
0 commit comments