build-support/writeTextFile: fix for names with spaces

I am sorry.
main
K900 2 years ago
parent 8379968bb2
commit 3fae68b30c
  1. 2
      pkgs/build-support/trivial-builders.nix

@ -121,7 +121,7 @@ rec {
allowSubstitutes = false;
}
''
target=$out${destination}
target=$out${lib.escapeShellArg destination}
mkdir -p "$(dirname "$target")"
if [ -e "$textPath" ]; then

Loading…
Cancel
Save