treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -140,7 +140,7 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opencv-${version}";
|
||||
pname = "opencv";
|
||||
inherit version src;
|
||||
|
||||
postUnpack = lib.optionalString buildContrib ''
|
||||
|
||||
@@ -153,7 +153,7 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opencv-${version}";
|
||||
pname = "opencv";
|
||||
inherit version src;
|
||||
|
||||
postUnpack = lib.optionalString buildContrib ''
|
||||
|
||||
@@ -19,7 +19,7 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opencv-${version}";
|
||||
pname = "opencv";
|
||||
version = "2.4.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
Reference in New Issue
Block a user