diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-27 17:21:31 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-27 20:04:57 +0700 |
commit | 82454e9df8d54c5afaa23055b4fbc656e347c71e (patch) | |
tree | aae2915f55ccf23af875194cec840760713b6210 /pkgs/development/compilers/ldc/binary.nix | |
parent | 78b5cfc15a06c7c2aff2d7fd5597830bb1e0626d (diff) |
treewide: remove implicit use of stdenv.lib
Diffstat (limited to 'pkgs/development/compilers/ldc/binary.nix')
-rw-r--r-- | pkgs/development/compilers/ldc/binary.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/compilers/ldc/binary.nix b/pkgs/development/compilers/ldc/binary.nix index cbdb56efb17f8..3a07009296a82 100644 --- a/pkgs/development/compilers/ldc/binary.nix +++ b/pkgs/development/compilers/ldc/binary.nix @@ -1,10 +1,11 @@ -{ stdenv, fetchurl, curl, tzdata, autoPatchelfHook, fixDarwinDylibNames, libxml2 +{ lib, stdenv, fetchurl, curl, tzdata, autoPatchelfHook, fixDarwinDylibNames, libxml2 , version, hashes }: -with stdenv; + let - OS = if hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name; + inherit (stdenv) hostPlatform; + OS = if stdenv.hostPlatform.isDarwin then "osx" else hostPlatform.parsed.kernel.name; ARCH = toString hostPlatform.parsed.cpu.name; -in mkDerivation { +in stdenv.mkDerivation { pname = "ldc-bootstrap"; inherit version; |