-
-
Save exarkun/3e6bbd82359a6c7f869a8f482192148b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pythonTwistedOverride = python-self: python-super: { | |
twisted = python-super.callPackage ../pkgs/twisted.nix { inherit (python-super) twisted; }; | |
}; | |
in | |
self: super: { | |
privatestorage = self.python27.buildEnv.override | |
{ extraLibs = | |
[ self.python27Packages.tahoe-lafs | |
self.python27Packages.zkapauthorizer | |
]; | |
# Twisted's dropin.cache always collides between different | |
# plugin-providing packages. | |
# ignoreCollisions = true; | |
}; | |
python27 = super.python27.override (old: { | |
packageOverrides = super.lib.composeExtensions old.packageOverrides pythonTwistedOverride; | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ twisted }: | |
twisted.overrideAttrs (old: { | |
version = old.version + "-0"; | |
patches = (if old ? "patches" then old.patches else []) ++ [ ./twisted.patch ]; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment