Conversation
|
Hi, thanks for breaking these out into smaller PRs. My understanding is that it doesn't make sense to build p11-kit statically. Am I misunderstanding? I've been working on a bunch of static stuff recently, with some overlap with your work. From what I've found, Meson projects that are explicitly calling So unless there's something I'm missing, I think a better path forward would be to disable p11-kit support in packages that optionally use it. I have a patch to do this for gnutls I could submit. |
|
OK, I didn't really ask myself this question so thanks for pointing it out. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/libudev-as-static-library/16272/2 |
Motivation for this change
Part of a bigger project to build Qt 5 statically #136107.
Things done
Fixed build of pkgsStatic.p11-kit,
created mesonShlibsToStaticHook: a preconfigure setup hook that replaces all shared_library calls to static_library calls in meson.build files.
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes