treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -20,7 +20,7 @@ let
|
||||
|
||||
lightworks = stdenv.mkDerivation rec {
|
||||
version = "14.0.0";
|
||||
name = "lightworks-${version}";
|
||||
pname = "lightworks";
|
||||
|
||||
src =
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||
@@ -28,7 +28,7 @@ let
|
||||
url = "http://downloads.lwks.com/v14/lwks-14.0.0-amd64.deb";
|
||||
sha256 = "66eb9f9678d979db76199f1c99a71df0ddc017bb47dfda976b508849ab305033";
|
||||
}
|
||||
else throw "${name} is not supported on ${stdenv.hostPlatform.system}";
|
||||
else throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";
|
||||
|
||||
buildInputs = [ dpkg makeWrapper ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user