-
-
Save o1lo01ol1o/6fccd0352bbdda69aea543ca5407e6b6 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
overrides = let | |
composeManyExtensions = | |
pkgs.lib.foldr (x: y: pkgs.lib.composeExtensions x y) | |
(self: super: { }); | |
pythonOverides = self: super: { | |
python = super.python.override { | |
packageOverrides = python-self: python-super: { | |
# tests fail on linux | |
pyopenssl = | |
python-super.pyopenssl.overridePythonAttrs | |
(old: { doCheck = false; }); | |
}; | |
}; | |
}; | |
in composeManyExtensions [ | |
pythonOverides | |
(import foo).haskellOverrides | |
(self: super: | |
with pkgs.haskell.lib; | |
let foo=foo; | |
in {}; #etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment