Commit 59027e2 broke libvirt broke libvirt/nixops on linux. Use ${targetPlatform.extensions.sharedLibrary} to accomodate both linux and darwin.
59027e2