Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created September 26, 2019 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/8a96d51ea9c22c5a1b7ce2747cc7324e to your computer and use it in GitHub Desktop.
Save exarkun/8a96d51ea9c22c5a1b7ce2747cc7324e to your computer and use it in GitHub Desktop.
let
overlayA = self: super: {
python27 = super.python27.override {
packageOverrides = python-self: python-super: {
foo = python-super.twisted;
};
};
};
overlayB = self: super: {
python27 = super.python27.override {
packageOverrides = python-self: python-super: {
bar = python-super.foo;
};
};
};
in
with import <nixpkgs> {
overlays = [
overlayA
overlayB
];
};
python27.pkgs.bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment