pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, jre, ctags, makeWrapper, coreutils, git, runtimeShell }:
|
||||
{ lib, stdenv, fetchurl, jre, ctags, makeWrapper, coreutils, git, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opengrok";
|
||||
@@ -18,12 +18,12 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $out/bin/OpenGrok --replace "/bin/uname" "${coreutils}/bin/uname"
|
||||
substituteInPlace $out/bin/Messages --replace "#!/bin/ksh" "#!${runtimeShell}"
|
||||
wrapProgram $out/bin/OpenGrok \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ ctags git ]}" \
|
||||
--prefix PATH : "${lib.makeBinPath [ ctags git ]}" \
|
||||
--set JAVA_HOME "${jre}" \
|
||||
--set OPENGROK_TOMCAT_BASE "/var/tomcat"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Source code search and cross reference engine";
|
||||
homepage = "https://opengrok.github.io/OpenGrok/";
|
||||
license = licenses.cddl;
|
||||
|
||||
Reference in New Issue
Block a user