mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 17:21:39 -05:00
overrides: h3 should load its C dependency from the Nix store
This commit is contained in:
parent
0b20328153
commit
c6d00ee7df
1 changed files with 9 additions and 0 deletions
|
@ -135,6 +135,15 @@ self: super:
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
h3 = super.h3.overridePythonAttrs (
|
||||||
|
old: {
|
||||||
|
preBuild = (old.preBuild or "") + ''
|
||||||
|
substituteInPlace h3/h3.py \
|
||||||
|
--replace "'{}/{}'.format(_dirname, libh3_path)" '"${pkgs.h3}/lib/libh3${pkgs.stdenv.hostPlatform.extensions.sharedLibrary}"'
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
h5py = super.h5py.overridePythonAttrs (
|
h5py = super.h5py.overridePythonAttrs (
|
||||||
old:
|
old:
|
||||||
if old.format != "wheel" then rec {
|
if old.format != "wheel" then rec {
|
||||||
|
|
Loading…
Add table
Reference in a new issue