treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
@@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
# ctags needed in path by outline plugin
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${stdenv.lib.makeBinPath [ ctags ]}"
--prefix PATH : "${lib.makeBinPath [ ctags ]}"
)
'';
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
@@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Photo viewer and organizer designed for elementary OS";
homepage = "https://github.com/elementary/photos";
license = licenses.lgpl21Plus;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, runCommand
, mutter
, elementary-default-settings
@@ -28,7 +28,7 @@ let
in
with stdenv.lib;
with lib;
# TODO: Having https://github.com/NixOS/nixpkgs/issues/54150 would supersede this
runCommand "elementary-gsettings-desktop-schemas" {}
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, fetchpatch
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
patchShebangs build-aux/meson/post_install.py
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A window & compositing manager based on mutter and designed by elementary for use with Pantheon";
homepage = "https://github.com/elementary/gala";
license = licenses.gpl3Plus;
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
];
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ glib.dev coreutils ]}")
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ glib.dev coreutils ]}")
'';
postFixup = ''