aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/analysis/coz/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/analysis/coz/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/analysis/coz/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/tools/analysis/coz/default.nix b/nixpkgs/pkgs/development/tools/analysis/coz/default.nix
index e745f7fe6e5..09bb44dc55f 100644
--- a/nixpkgs/pkgs/development/tools/analysis/coz/default.nix
+++ b/nixpkgs/pkgs/development/tools/analysis/coz/default.nix
@@ -3,6 +3,7 @@
, libelfin
, ncurses
, python3
+, python3Packages
, makeWrapper
}:
stdenv.mkDerivation rec {
@@ -28,6 +29,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
ncurses
makeWrapper
+ python3Packages.wrapPython
];
buildInputs = [
@@ -42,9 +44,7 @@ stdenv.mkDerivation rec {
# fix executable includes
chmod -x $out/include/coz.h
- # make sure that PYTHONPATH doesn't leak from the environment
- wrapProgram $out/bin/coz \
- --unset PYTHONPATH
+ wrapPythonPrograms
'';
meta = {