pkgs/applications: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:24:03 +07:00
parent 2e34288f0d
commit 108bdac3d9
427 changed files with 1160 additions and 1154 deletions
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
];
# Whether to build with contractor support (Pantheon specific)
cmakeFlags = stdenv.lib.optional (!withPantheon) "-Dnoele=yes";
cmakeFlags = lib.optional (!withPantheon) "-Dnoele=yes";
passthru = {
updateScript = nix-update-script {
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Markdown notes editor and manager designed for elementary OS"
+ stdenv.lib.optionalString withPantheon " - built with Contractor support";
+ lib.optionalString withPantheon " - built with Contractor support";
homepage = "https://github.com/Philip-Scott/Notes-up";
license = licenses.gpl2;
maintainers = with maintainers; [ davidak worldofpeace ];