Merge pull request #110912 from siraben/stdenv-lib-inherit

treewide: remove inherited stdenv.lib
This commit is contained in:
Sandro
2021-01-27 10:28:55 +01:00
committed by GitHub
32 changed files with 37 additions and 52 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
{ stdenv, writeScript, fetchurl, requireFile, unzip, clang, mono, which,
{ lib, stdenv, writeScript, fetchurl, requireFile, unzip, clang, mono, which,
xorg, xdg-user-dirs }:
let
inherit (stdenv) lib;
deps = import ./cdn-deps.nix { inherit fetchurl; };
linkDeps = writeScript "link-deps.sh" (lib.concatMapStringsSep "\n" (hash:
let prefix = lib.concatStrings (lib.take 2 (lib.stringToCharacters hash));