Merge pull request #85255 from Infinisil/sanitize-run-command-name

This commit is contained in:
Silvan Mosberger
2020-04-25 00:11:41 +02:00
committed by GitHub

View File

@@ -4,7 +4,8 @@ let
runCommand' = runLocal: stdenv: name: env: buildCommand:
stdenv.mkDerivation ({
inherit name buildCommand;
name = lib.strings.sanitizeDerivationName name;
inherit buildCommand;
passAsFile = [ "buildCommand" ];
}
// (lib.optionalAttrs runLocal {