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
+5 -5
View File
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript
{ lib, stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript
, common-updater-scripts, git, nix, nixfmt, coreutils, gnused, nixosTests
, gettext ? null, enableNls ? true, enableTiny ? false }:
assert enableNls -> (gettext != null);
with stdenv.lib;
with lib;
let
nixSyntaxHighlight = fetchFromGitHub {
@@ -30,8 +30,8 @@ in stdenv.mkDerivation rec {
configureFlags = [
"--sysconfdir=/etc"
(stdenv.lib.enableFeature enableNls "nls")
(stdenv.lib.enableFeature enableTiny "tiny")
(lib.enableFeature enableNls "nls")
(lib.enableFeature enableTiny "tiny")
];
postInstall = ''
@@ -47,7 +47,7 @@ in stdenv.mkDerivation rec {
#!${stdenv.shell}
set -o errexit
PATH=${
stdenv.lib.makeBinPath [
lib.makeBinPath [
common-updater-scripts
git
nixfmt