treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and release-19.09.
This commit is contained in:
@@ -10,8 +10,8 @@ pkgs.stdenv.mkDerivation (
|
||||
args //
|
||||
{
|
||||
|
||||
pname = "emscripten-${args.pname or (builtins.parseDrvName args.name).name}";
|
||||
version = args.version or (builtins.parseDrvName args.name).version;
|
||||
pname = "emscripten-${lib.getName args}";
|
||||
version = lib.getVersion args;
|
||||
buildInputs = [ emscripten python ] ++ buildInputs;
|
||||
nativeBuildInputs = [ emscripten python ] ++ nativeBuildInputs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user