treewide: remove implicit use of stdenv.lib

This commit is contained in:
Ben Siraphob
2021-01-27 17:21:31 +07:00
parent 78b5cfc15a
commit 82454e9df8
15 changed files with 35 additions and 42 deletions

View File

@@ -1,10 +1,11 @@
{ stdenv, fetchurl, curl, tzdata, autoPatchelfHook, fixDarwinDylibNames, glibc
{ lib, stdenv, fetchurl, curl, tzdata, autoPatchelfHook, fixDarwinDylibNames, glibc
, version, hashes }:
with stdenv;
let
inherit (stdenv) hostPlatform;
OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name;
MODEL = toString hostPlatform.parsed.cpu.bits;
in mkDerivation {
in stdenv.mkDerivation {
pname = "dmd-bootstrap";
inherit version;