pkgs: use 'lib' as first input
This is the idiomatic style in nixpkgs.
This commit is contained in:
parent
9bb09ee8f4
commit
5fa2b1fed9
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ buildGoModule, fetchgit, lib, mpv }:
|
||||
{ lib, buildGoModule, fetchgit, mpv }:
|
||||
buildGoModule rec {
|
||||
pname = "ff2mpv-go";
|
||||
version = "1.0.1";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, ghc, lib, stdenv, which }:
|
||||
{ lib, fetchurl, ghc, stdenv, which }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "havm";
|
||||
version = "0.28";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchFromGitHub, lib, rustPlatform }:
|
||||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "lohr";
|
||||
version = "0.4.0";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, gnulib, lib, stdenv }:
|
||||
{ lib, fetchurl, gnulib, stdenv }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nolimips";
|
||||
version = "0.11";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchFromGitHub, lib, stdenvNoCC }:
|
||||
{ lib, fetchFromGitHub, stdenvNoCC }:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "unified-hosts-lists";
|
||||
version = "3.6.4";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue