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:
|
||||
stdenv.mkDerivation ({
|
||||
inherit name buildCommand;
|
||||
name = lib.strings.sanitizeDerivationName name;
|
||||
inherit buildCommand;
|
||||
passAsFile = [ "buildCommand" ];
|
||||
}
|
||||
// (lib.optionalAttrs runLocal {
|
||||
|
|
Loading…
Reference in New Issue