Skip to content

Instantly share code, notes, and snippets.

@exarkun
Last active July 17, 2019 18:28
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/5c5c8c97835ab4630069afeb43b28593 to your computer and use it in GitHub Desktop.
Save exarkun/5c5c8c97835ab4630069afeb43b28593 to your computer and use it in GitHub Desktop.
let
addUnique = xs: x: if builtins.elem x xs then xs else xs ++ [ x ];
in
self: super: {
python27 = super.python27.overrideAttrs (old: {
configureFlags = self.lib.lists.foldl addUnique old.configureFlags [ "--enable-pydebug" ];
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment