treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 20:21:58 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions

View File

@@ -28,17 +28,17 @@ stdenv.mkDerivation rec {
gtk3
pkg-config
]
++ stdenv.lib.optionals withQt [ wrapQtAppsHook ];
buildInputs = stdenv.lib.optionals withQt [ qtbase ]
++ stdenv.lib.optionals withGtk [ gtk3 ];
++ lib.optionals withQt [ wrapQtAppsHook ];
buildInputs = lib.optionals withQt [ qtbase ]
++ lib.optionals withGtk [ gtk3 ];
makeFlags = [
"prefix=$(out)"
"COPPER=${copper}/bin/copper-elf64"
"with-local-libs"
"QINC=${qtbase.dev}/include"
]
++ stdenv.lib.optionals withQt [ "UI=qt" ]
++ stdenv.lib.optionals withGtk [ "UI=gtk" ];
++ lib.optionals withQt [ "UI=qt" ]
++ lib.optionals withGtk [ "UI=gtk" ];
meta = with lib; {
description = "Folding text editor, designed to hierarchically structure any kind of text file and especially source code";
homepage = "https://tibleiz.net/code-browser/";