treewide: simplify pkgs.stdenv.lib -> pkgs.lib

The library does not depend on stdenv, that `stdenv` exposes `lib` is
an artifact of the ancient origins of nixpkgs.
This commit is contained in:
Dominik Xaver Hörl
2021-01-10 20:08:30 +01:00
parent f41dc35387
commit 25bef2d8f9
260 changed files with 270 additions and 270 deletions

View File

@@ -20,7 +20,7 @@ let
timeoutStr = if blCfg.timeout == null then "-1" else toString blCfg.timeout;
isAarch64 = pkgs.stdenv.hostPlatform.isAarch64;
optional = pkgs.stdenv.lib.optionalString;
optional = pkgs.lib.optionalString;
configTxt =
pkgs.writeText "config.txt" (''