about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-05-14 06:44:21 +0100
committerGitHub <noreply@github.com>2022-05-14 06:44:21 +0100
commit75a5da90454e7e46a73b0753a8bffcb2399db3f9 (patch)
treeb4038b3149246d02452dbb9ca2a0915b8a473eca /pkgs
parent78e60f44fbdb2915d424916a289554ee828aa34c (diff)
parentcec00ad9e8b9167042c63f294c7bbe3dbcee7d94 (diff)
Merge pull request #172973 from dotlambda/pynest2d-interpreter
python3Packages.pynest2d: use correct interpreter
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pynest2d/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pynest2d/default.nix b/pkgs/development/python-modules/pynest2d/default.nix
index 9be7072a89fb3..dd290ad5782a3 100644
--- a/pkgs/development/python-modules/pynest2d/default.nix
+++ b/pkgs/development/python-modules/pynest2d/default.nix
@@ -1,4 +1,4 @@
-{ lib, buildPythonPackage, fetchFromGitHub, python3, cmake
+{ lib, buildPythonPackage, fetchFromGitHub, python, cmake
 , libnest2d, sip_4, clipper }:
 
 buildPythonPackage rec {
@@ -19,7 +19,7 @@ buildPythonPackage rec {
   CLIPPER_PATH = "${clipper.out}";
 
   postPatch = ''
-     sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python3.sitePackages}#' cmake/SIPMacros.cmake
+     sed -i 's#''${Python3_SITEARCH}#${placeholder "out"}/${python.sitePackages}#' cmake/SIPMacros.cmake
    '';
 
   meta = with lib; {