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