G-Node / nix

Neuroscience information exchange format
https://readthedocs.org/projects/nixio/
Other
66 stars 36 forks source link

Submit nixio.spec to fedora proper #715

Open gicmo opened 6 years ago

gicmo commented 6 years ago

Missing:

jgrewe commented 6 years ago

if nix is installed from source, the library will be installed in /usr/local/lib, the headers go to /usr/local/include and the pkgconfig file is in /usr/local/lib/pkgconfig. In order for pkgconfig to find it I need to add /usr/local/lib/pkgconfig to the PKG_CONFIG_PATH environment variable. For dynamic linking I need to fix ldconfig as well by adding the library path to /etc/ld.so.conf and refresh the cache.

Will these issues be solved if the library is installed via dnf or do we need to take care about it?

gicmo commented 6 years ago

Will these issues be solved if the library is installed via dnf or do we need to take care about it?

Yes it will be, because local is really for locally installed packages. Even the copr build should already fix that issue. I think we should adjust the spec file that comes with nix so we can use it to create rpms from the source tree directly so we can install pre-release stuff locally via dnf too.

gicmo commented 6 years ago

bolt.spec is an example of how to do it.