summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-03-25 12:27:59 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2021-03-25 12:27:59 +0100
commit0aaee53c2a18777b83b9a0bfca71e5a47aea4f84 (patch)
tree295eb5e07d15f428a60f86c3dee5c9dc9ce25188
parent49b68c592455db548d942593bfb3fd87a3d2b51a (diff)
downloadnixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.tar
nixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.tar.gz
nixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.tar.bz2
nixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.tar.lz
nixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.tar.xz
nixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.tar.zst
nixpkgs-0aaee53c2a18777b83b9a0bfca71e5a47aea4f84.zip
docopt_cpp: stay with python2
-rw-r--r--pkgs/development/libraries/docopt_cpp/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/docopt_cpp/default.nix b/pkgs/development/libraries/docopt_cpp/default.nix
index f9456b8acac..3de84b684e5 100644
--- a/pkgs/development/libraries/docopt_cpp/default.nix
+++ b/pkgs/development/libraries/docopt_cpp/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, cmake, python }:
+{ lib, stdenv, fetchFromGitHub, cmake, python2 }:
 
 stdenv.mkDerivation rec {
   version = "0.6.3";
@@ -11,10 +11,12 @@ stdenv.mkDerivation rec {
     sha256 = "0cz3vv7g5snfbsqcf3q8bmd6kv5qp84gj3avwkn4vl00krw13bl7";
   };
 
-  nativeBuildInputs = [ cmake python ];
+  nativeBuildInputs = [ cmake python2 ];
 
   cmakeFlags = ["-DWITH_TESTS=ON"];
 
+  strictDeps = true;
+
   doCheck = true;
 
   postPatch = ''