Created
September 26, 2019 18:48
-
-
Save exarkun/455f1cfa3fe18a1d266c3a7f139d5d00 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 = super.python27.buildEnv.override | |
{ extraLibs = | |
[ super.python27Packages.tahoe-lafs | |
super.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; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment