runCommand*: Rely on mkDerivation to sanitize name
This commit is contained in:
@@ -70,8 +70,7 @@ rec {
|
||||
# name of the resulting derivation
|
||||
}: buildCommand:
|
||||
stdenv.mkDerivation ({
|
||||
name = lib.strings.sanitizeDerivationName name;
|
||||
inherit buildCommand;
|
||||
inherit buildCommand name;
|
||||
passAsFile = [ "buildCommand" ]
|
||||
++ (derivationArgs.passAsFile or []);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user