2020-04-25 12:32:42 +00:00
|
|
|
(self: super:
|
|
|
|
{
|
2020-04-29 19:06:48 +00:00
|
|
|
carnix = super.carnix.overrideDerivation (drv: {
|
|
|
|
patches = super.patches or [] ++ [
|
|
|
|
(super.fetchurl {
|
|
|
|
name = "carnix-cfg.patch";
|
|
|
|
url = "https://gist.githubusercontent.com/LnL7/27a567cd2b3162a21cbd0499c6fa0f71/raw/32d3055b6ce105c2c64e8cdfe0204d6c90f6d214/carnix-cfg.patch";
|
|
|
|
sha256 = "1nc5dlxqrhgh989dfzhjqw46hk3aii0rcz1qr3cvqbrwc7wzcj6w";
|
|
|
|
})
|
|
|
|
(super.fetchurl {
|
|
|
|
name = "carnix-workspaces.patch";
|
|
|
|
url = "https://gist.githubusercontent.com/LnL7/27a567cd2b3162a21cbd0499c6fa0f71/raw/d6395cfc06dff2a3555b0068e477274f9560fbae/carnix-workspace.patch";
|
|
|
|
sha256 = "1kvfing0s968pknsrpc98yjii8idsqmy00dsvwkyfbqx9frn7kjg";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
});
|
|
|
|
|
2020-02-21 15:40:22 +00:00
|
|
|
defaultCrateOverrides = super.defaultCrateOverrides // {
|
2020-04-25 12:32:42 +00:00
|
|
|
ofborg = attrs: {
|
|
|
|
buildInputs = with self.darwin.apple_sdk.frameworks;
|
|
|
|
super.lib.optional super.stdenv.isDarwin Security;
|
|
|
|
};
|
|
|
|
ofborg-simple-build = attrs: {
|
|
|
|
buildInputs = with self.darwin.apple_sdk.frameworks;
|
|
|
|
super.lib.optional super.stdenv.isDarwin Security;
|
|
|
|
};
|
2020-02-21 15:40:22 +00:00
|
|
|
openssl-sys = attrs: {
|
|
|
|
buildInputs = [ self.openssl_1_0_2 ];
|
|
|
|
nativeBuildInputs = [ self.pkgconfig ];
|
|
|
|
};
|
|
|
|
openssl = attrs: {
|
|
|
|
DEP_OPENSSL_VERSION = "102";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|