Patch nix again

This commit is contained in:
Alexander Bantyev 2022-02-07 18:13:46 +03:00
parent 9b44287df7
commit 6644a95e30
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -65,7 +65,8 @@ in rec {
name = "coeurl"; name = "coeurl";
src = inputs.coeurl; src = inputs.coeurl;
buildInputs = [ final.curl.all final.libevent final.spdlog ]; buildInputs = [ final.curl.all final.libevent final.spdlog ];
nativeBuildInputs = [ final.meson final.ninja final.pkg-config final.cmake ]; nativeBuildInputs =
[ final.meson final.ninja final.pkg-config final.cmake ];
}; };
mtxclient = prev.mtxclient.overrideAttrs (oa: { mtxclient = prev.mtxclient.overrideAttrs (oa: {
@ -94,9 +95,8 @@ in rec {
cmakeFlags = oa.cmakeFlags ++ [ "-DBUILD_SHARED_LIBS=OFF" ]; cmakeFlags = oa.cmakeFlags ++ [ "-DBUILD_SHARED_LIBS=OFF" ];
})).override { mtxclient = final.mtxclient; }; })).override { mtxclient = final.mtxclient; };
nix = inputs.nix.defaultPackage.${system}; nix = inputs.nix.defaultPackage.${system}.overrideAttrs
# .overrideAttrs (oa: { patches = [ ./profiles/nix/nix.patch ] ++ oa.patches or [ ]; });
# (oa: { patches = [ ./profiles/nix/nix.patch ] ++ oa.patches or [ ]; });
mako = prev.mako.overrideAttrs (_: { mako = prev.mako.overrideAttrs (_: {
postInstall = postInstall =