Skip to content

Instantly share code, notes, and snippets.

@tylerjl
Last active June 19, 2016 23:59
Show Gist options
  • Save tylerjl/1080e5d6a5535fdf20ea2dd52ff1d652 to your computer and use it in GitHub Desktop.
Save tylerjl/1080e5d6a5535fdf20ea2dd52ff1d652 to your computer and use it in GitHub Desktop.
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