pkgs: use 'lib' as first input
All checks were successful
continuous-integration/drone/push Build is passing

This is the idiomatic style in nixpkgs.
This commit is contained in:
Bruno BELANYI 2021-06-16 20:08:44 +02:00
parent daa69a54fa
commit cd02cbff45
13 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
{ bitwarden-cli, coreutils, jq, keyutils, lib, makeWrapper, rofi, shellcheck, stdenvNoCC }:
{ lib, bitwarden-cli, coreutils, jq, keyutils, makeWrapper, rofi, shellcheck, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "bw-pass";
version = "0.1.0";

View file

@ -1,4 +1,4 @@
{ fzf, lib, makeWrapper, nix-index, shellcheck, stdenvNoCC }:
{ lib, fzf, makeWrapper, nix-index, shellcheck, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "comma";
version = "0.1.0";

View file

@ -1,4 +1,4 @@
{ coreutils, git, gnused, makeWrapper, lib, shellcheck, stdenvNoCC }:
{ lib, coreutils, git, gnused, makeWrapper, shellcheck, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "diff-flake";
version = "0.1.0";

View file

@ -1,4 +1,4 @@
{ buildGoModule, fetchgit, lib, mpv }:
{ lib, buildGoModule, fetchgit, mpv }:
buildGoModule rec {
pname = "ff2mpv-go";
version = "1.0.1";

View file

@ -1,4 +1,4 @@
{ fetchurl, ghc, lib, stdenv, which }:
{ lib, fetchurl, ghc, stdenv, which }:
stdenv.mkDerivation rec {
pname = "havm";
version = "0.28";

View file

@ -1,4 +1,4 @@
{ coreutils, gnused, makeWrapper, lib, shellcheck, stdenvNoCC, xorg }:
{ lib, coreutils, gnused, makeWrapper, shellcheck, stdenvNoCC, xorg }:
stdenvNoCC.mkDerivation rec {
pname = "i3-get-window-criteria";
version = "0.1.0";

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, lib, rustPlatform }:
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "lohr";
version = "0.4.0";

View file

@ -1,4 +1,4 @@
{ curl, jq, fetchFromGitHub, lib, makeWrapper, stdenvNoCC }:
{ lib, curl, jq, fetchFromGitHub, makeWrapper, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "matrix-notifier";
version = "0.1.2";

View file

@ -1,4 +1,4 @@
{ fetchurl, gnulib, lib, stdenv }:
{ lib, fetchurl, gnulib, stdenv }:
stdenv.mkDerivation rec {
pname = "nolimips";
version = "0.11";

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, gawk, lib, stdenvNoCC, unified-hosts-lists }:
{ lib, fetchFromGitHub, gawk, stdenvNoCC, unified-hosts-lists }:
stdenvNoCC.mkDerivation rec {
name = "unbound-zones-adblock";
version = unified-hosts-lists.version;

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, lib, stdenvNoCC }:
{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation rec {
pname = "unified-hosts-lists";
version = "3.6.4";

View file

@ -1,4 +1,4 @@
{ python3, fetchFromGitHub, inkscape, lib, stdenvNoCC, xcursorgen }:
{ lib, python3, fetchFromGitHub, inkscape, stdenvNoCC, xcursorgen }:
let
py = python3.withPackages (ps: with ps; [ cairosvg ]);
in

View file

@ -1,4 +1,4 @@
{ fetchFromGitHub, inkscape, lib, stdenvNoCC, xcursorgen }:
{ lib, fetchFromGitHub, inkscape, stdenvNoCC, xcursorgen }:
stdenvNoCC.mkDerivation rec {
pname = "volantes-cursors";
version = "unstable-2020-06-06";