db: use pname and version instead of name
This commit is contained in:
parent
9c7bea23cb
commit
9e0c1bce40
1 changed files with 3 additions and 2 deletions
|
@ -11,10 +11,11 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "db-${version}";
|
||||
pname = "db";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.oracle.com/berkeley-db/${name}.tar.gz";
|
||||
url = "https://download.oracle.com/berkeley-db/${pname}-${version}.tar.gz";
|
||||
sha256 = sha256;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue