mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
Block a user