We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 536aa64 commit f5e82deCopy full SHA for f5e82de
1 file changed
flake.nix
@@ -113,6 +113,13 @@
113
// final.cardanoLib
114
// import ./nix/svclib.nix {inherit (final) pkgs;};
115
})
116
+ (final: prev: {
117
+ # For musl builds, make sure the static `liburing.a` file is not deleted in `postInstall`
118
+ # ex: https://github.com/NixOS/nixpkgs/blob/f84a9816b2d5f7caade4b2fab16a66486abb7038/pkgs/by-name/li/liburing/package.nix#L43-L45
119
+ liburing = prev.liburing.overrideAttrs (attrs: final.lib.optionalAttrs final.stdenv.hostPlatform.isMusl {
120
+ postInstall = builtins.replaceStrings [ "rm $out/lib/liburing*.a" ] [ "" ] attrs.postInstall;
121
+ });
122
+ })
123
(import ./nix/pkgs.nix)
124
abseilOverlay
125
self.overlay
0 commit comments