treewide: name -> pname

This commit is contained in:
volth
2019-08-13 21:52:01 +00:00
parent fe9a3e3e63
commit c814d72b51
520 changed files with 1164 additions and 622 deletions

View File

@@ -7,7 +7,8 @@ let version = if stdenv.lib.versionAtLeast ocaml.version "4.02"
in
stdenv.mkDerivation {
name = "js_of_ocaml-${version}";
pname = "js_of_ocaml";
inherit version;
src = fetchurl {
url = "https://github.com/ocsigen/js_of_ocaml/archive/${version}.tar.gz";
sha256 = {

View File

@@ -3,7 +3,8 @@
let version = "0.1.10"; in
stdenv.mkDerivation {
name = "obuild-${version}";
pname = "obuild";
inherit version;
src = fetchzip {
url = "https://github.com/ocaml-obuild/obuild/archive/obuild-v${version}.tar.gz";

View File

@@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
# derivation of just runtime deps so env vars created by
# setup-hooks can be saved for use at runtime
runtime = stdenv.mkDerivation rec {
name = "utop-runtime-env-${version}";
pname = "utop-runtime-env";
inherit version;
buildInputs = [ findlib ] ++ propagatedBuildInputs;