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/build-support | |
parent | 78b5cfc15a06c7c2aff2d7fd5597830bb1e0626d (diff) | |
download | nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.tar nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.tar.gz nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.tar.bz2 nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.tar.lz nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.tar.xz nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.tar.zst nixlib-82454e9df8d54c5afaa23055b4fbc656e347c71e.zip |
treewide: remove implicit use of stdenv.lib
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/coq/default.nix | 2 | ||||
-rw-r--r-- | pkgs/build-support/coq/meta-fetch/default.nix | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/build-support/coq/default.nix b/pkgs/build-support/coq/default.nix index 7e925e2473e1..8d86602bf38e 100644 --- a/pkgs/build-support/coq/default.nix +++ b/pkgs/build-support/coq/default.nix @@ -35,7 +35,7 @@ let "extraInstallFlags" "setCOQBIN" "mlPlugin" "dropAttrs" "dropDerivationAttrs" "keepAttrs" ] ++ dropAttrs) keepAttrs; fetch = import ../coq/meta-fetch/default.nix - { inherit stdenv fetchzip; } ({ + { inherit lib stdenv fetchzip; } ({ inherit release releaseRev; location = { inherit domain owner repo; }; } // optionalAttrs (args?fetcher) {inherit fetcher;}); diff --git a/pkgs/build-support/coq/meta-fetch/default.nix b/pkgs/build-support/coq/meta-fetch/default.nix index 580d58395ef4..b01ae72a2089 100644 --- a/pkgs/build-support/coq/meta-fetch/default.nix +++ b/pkgs/build-support/coq/meta-fetch/default.nix @@ -1,5 +1,6 @@ -{ stdenv, fetchzip }@args: -let lib = import ../extra-lib.nix {inherit (args.stdenv) lib;}; in +{ lib, stdenv, fetchzip }@args: +let lib' = lib; in +let lib = import ../extra-lib.nix {lib = lib';}; in with builtins; with lib; let default-fetcher = {domain ? "github.com", owner ? "", repo, rev, name ? "source", sha256 ? null, ...}@args: |