testEqualDerivation: Rely on mkDerivation to sanitize name
This commit is contained in:
parent
225ca9088a
commit
c39eff52dc
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ let
|
|||
drvB = builtins.unsafeDiscardOutputDependency b.drvPath or (throw "testEqualDerivation third argument must be a package");
|
||||
name =
|
||||
if a?name
|
||||
then lib.strings.sanitizeDerivationName "testEqualDerivation-${a.name}"
|
||||
then "testEqualDerivation-${a.name}"
|
||||
else "testEqualDerivation";
|
||||
in
|
||||
if drvA == drvB then
|
||||
|
|
Loading…
Reference in a new issue