Merge pull request #172973 from dotlambda/pynest2d-interpreter

python3Packages.pynest2d: use correct interpreter
main
Jörg Thalheim 2 years ago committed by GitHub
commit 75a5da9045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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; {

Loading…
Cancel
Save