Merge pull request #85255 from Infinisil/sanitize-run-command-name
This commit is contained in:
commit
eeb4e522b5
|
@ -4,7 +4,8 @@ let
|
||||||
|
|
||||||
runCommand' = runLocal: stdenv: name: env: buildCommand:
|
runCommand' = runLocal: stdenv: name: env: buildCommand:
|
||||||
stdenv.mkDerivation ({
|
stdenv.mkDerivation ({
|
||||||
inherit name buildCommand;
|
name = lib.strings.sanitizeDerivationName name;
|
||||||
|
inherit buildCommand;
|
||||||
passAsFile = [ "buildCommand" ];
|
passAsFile = [ "buildCommand" ];
|
||||||
}
|
}
|
||||||
// (lib.optionalAttrs runLocal {
|
// (lib.optionalAttrs runLocal {
|
||||||
|
|
Loading…
Reference in New Issue