mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.keystone-engine: fix build for non-x86 linux
(cherry picked from commit addd745ca3)
This commit is contained in:
committed by
Jonathan Ringer
parent
c8d9bdc08c
commit
5d4f4b9f8a
@@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, keystone }:
|
||||
{ lib, stdenv, buildPythonPackage, fetchPypi, keystone }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keystone-engine";
|
||||
@@ -9,6 +9,8 @@ buildPythonPackage rec {
|
||||
sha256 = "1xahdr6bh3dw5swrc2r8kqa8ljhqlb7k2kxv5mrw5rhcmcnzcyig";
|
||||
};
|
||||
|
||||
setupPyBuildFlags = lib.optionals stdenv.isLinux [ "--plat-name" "linux" ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace \
|
||||
"libkeystone" "${keystone}/lib/libkeystone"
|
||||
|
||||
Reference in New Issue
Block a user