pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, jdk, swt}:
|
||||
{lib, stdenv, fetchurl, jdk, swt}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "azureus-2.3.0.6";
|
||||
@@ -11,6 +11,6 @@ stdenv.mkDerivation {
|
||||
inherit jdk swt;
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
zlib
|
||||
]
|
||||
++
|
||||
stdenv.lib.optionals (enableGui) [ gtk2 ]
|
||||
lib.optionals (enableGui) [ gtk2 ]
|
||||
;
|
||||
|
||||
configureScript = "./build.sh";
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
# See https://sourceforge.net/p/gtk-gnutella/bugs/555/
|
||||
"--disable-malloc"
|
||||
]
|
||||
++ stdenv.lib.optionals (!enableGui) [ "--topless" ]
|
||||
++ lib.optionals (!enableGui) [ "--topless" ]
|
||||
;
|
||||
|
||||
hardeningDisable = [ "bindnow" "fortify" "pic" "relro" ];
|
||||
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Optional patch adds support for custom configurable colors
|
||||
# https://github.com/Chlorm/chlorm_overlay/blob/master/net-p2p/rtorrent/README.md
|
||||
patches = stdenv.lib.optional colorSupport (fetchurl {
|
||||
patches = lib.optional colorSupport (fetchurl {
|
||||
url = "https://gist.githubusercontent.com/codyopel/a816c2993f8013b5f4d6/raw/b952b32da1dcf14c61820dfcf7df00bc8918fec4/rtorrent-color.patch";
|
||||
sha256 = "00gcl7yq6261rrfzpz2k8bd7mffwya0ifji1xqcvhfw50syk8965";
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user