treewide: name -> pname (easy cases) (#66585)
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
This commit is contained in:
@@ -7,11 +7,11 @@ assert odbcSupport -> unixODBC != null;
|
||||
# Work is in progress to move to cmake so revisit that later
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freetds-${version}";
|
||||
pname = "freetds";
|
||||
version = "1.1.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freetds.org/files/stable/${name}.tar.bz2";
|
||||
url = "https://www.freetds.org/files/stable/${pname}-${version}.tar.bz2";
|
||||
sha256 = "18rry59npbhxpzjb0l3ib7zlnlzj43srb5adcm65wyklklsh0gn2";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user