mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.apex: fix build (#547739)
This commit is contained in:
@@ -75,6 +75,13 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
--replace-fail \
|
||||
"lerp(" \
|
||||
"apex_lerp("
|
||||
''
|
||||
# Upstream hardcodes `version="0.1"` in setup.py, which fails the metadata check
|
||||
+ ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail \
|
||||
'version="0.1",' \
|
||||
'version="${finalAttrs.version}",'
|
||||
'';
|
||||
|
||||
env = {
|
||||
|
||||
Reference in New Issue
Block a user