pkgs: use 'lib' as first input

This is the idiomatic style in nixpkgs.
This commit is contained in:
Bruno BELANYI 2021-06-16 20:08:44 +02:00
parent 9bb09ee8f4
commit 5fa2b1fed9
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 { stdenvNoCC.mkDerivation rec {
pname = "bw-pass"; pname = "bw-pass";
version = "0.1.0"; 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 { stdenvNoCC.mkDerivation rec {
pname = "comma"; pname = "comma";
version = "0.1.0"; 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 { stdenvNoCC.mkDerivation rec {
pname = "diff-flake"; pname = "diff-flake";
version = "0.1.0"; version = "0.1.0";

View File

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

View File

@ -1,4 +1,4 @@
{ fetchurl, ghc, lib, stdenv, which }: { lib, fetchurl, ghc, stdenv, which }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "havm"; pname = "havm";
version = "0.28"; 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 { stdenvNoCC.mkDerivation rec {
pname = "i3-get-window-criteria"; pname = "i3-get-window-criteria";
version = "0.1.0"; version = "0.1.0";

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, lib, rustPlatform }: { lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "lohr"; pname = "lohr";
version = "0.4.0"; 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 { stdenvNoCC.mkDerivation rec {
pname = "matrix-notifier"; pname = "matrix-notifier";
version = "0.1.2"; version = "0.1.2";

View File

@ -1,4 +1,4 @@
{ fetchurl, gnulib, lib, stdenv }: { lib, fetchurl, gnulib, stdenv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nolimips"; pname = "nolimips";
version = "0.11"; 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 { stdenvNoCC.mkDerivation rec {
name = "unbound-zones-adblock"; name = "unbound-zones-adblock";
version = unified-hosts-lists.version; version = unified-hosts-lists.version;

View File

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

View File

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

View File

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