Skip to content

Instantly share code, notes, and snippets.

@tylerjl tylerjl/configuration.nix
Last active Jun 19, 2016

Embed
What would you like to do?
Attempting to add a python package dependency via derivation override.
...
nixpkgs.config = {
packageOverrides = pkgs: rec {
matrix-synapse = pkgs.stdenv.lib.overrideDerivation pkgs.matrix-synapse (oldAttrs : {
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ pkgs.pythonPackages.psycopg2;
});
};
};
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.