Created
February 19, 2017 17:28
-
-
Save garbas/8676267db5a8914791dc659b4963e0c3 to your computer and use it in GitHub Desktop.
globin_override.nix
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
{ pkgs, python }: | |
self: super: { | |
"github3.py" = python.overrideDerivation super."github3.py" (old: { | |
propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ [ self."uritemplate" ]; | |
patchPhase = '' | |
cat setup.py | |
sed -i -e "s|uritemplate.py >= 0.2.0|uritemplate >= 0.2.0|" setup.py | |
''; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment