about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2022-10-27 09:36:59 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2022-10-27 10:03:16 +0200
commit6b0494cbcc4a93e66f6862c140a2bc1205e9dc84 (patch)
treede8f1eedefdbde5a429c0a0ecf163b376184504d /pkgs/applications
parent33d12e5f0bcc61d8e12d07fd73ad981f0d42ab59 (diff)
git-remote-codecommit: fix build
- Don't call from a different scope
- Disable catching of conflicts because we do get a (installation-time
only) conflict due to overrides in awscli.
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix b/pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix
index e5e41ac7232af..8ada5cc42f54e 100644
--- a/pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-remote-codecommit/default.nix
@@ -1,11 +1,19 @@
-{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, botocore, pytest, mock
-, flake8, tox, awscli }:
+{ lib, fetchFromGitHub, python3Packages, awscli }:
+
+with python3Packages;
 
 buildPythonApplication rec {
   pname = "git-remote-codecommit";
   version = "1.15.1";
   disabled = !isPy3k;
 
+  # The check dependency awscli has some overrides
+  # which yield a different botocore.
+  # This results in a duplicate version during installation
+  # of the wheel, even though it does not matter
+  # because it is only a test dependency.
+  catchConflicts = false;
+
   src = fetchFromGitHub {
     owner = "aws";
     repo = pname;