pkgs/development/compilers: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, which, perl, jdk
|
||||
{ lib, stdenv, fetchFromGitHub, which, perl, jdk
|
||||
, ocamlPackages, openssl
|
||||
, coreutils, zlib, ncurses, makeWrapper
|
||||
, gcc, binutils, gnumake, nodejs
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Paths so the opa compiler code generation will use the same programs as were
|
||||
# used to build opa.
|
||||
codeGeneratorPaths = stdenv.lib.makeBinPath [ ocamlPackages.ocaml gcc binutils gnumake nodejs ];
|
||||
codeGeneratorPaths = lib.makeBinPath [ ocamlPackages.ocaml gcc binutils gnumake nodejs ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs .
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
ocaml findlib ssl cryptokit camlzip ulex ocamlgraph camlp4
|
||||
]);
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
NIX_LDFLAGS = lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
|
||||
postInstall = ''
|
||||
# Have compiler use same tools for code generation as used to build it.
|
||||
@@ -71,8 +71,8 @@ stdenv.mkDerivation rec {
|
||||
Opa is concise, simple, concurrent, dynamically distributed, and secure.
|
||||
'';
|
||||
homepage = "http://opalang.org/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.kkallio ];
|
||||
platforms = with stdenv.lib.platforms; unix;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.kkallio ];
|
||||
platforms = with lib.platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user