matrix-synapse-saml-mapper: Hotfix missing res dir

This commit is contained in:
Moritz 'e1mo' Fromm 2023-09-01 00:13:49 +02:00
parent 2ba5a98d16
commit dcc1f00006
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -165,6 +165,14 @@ final: prev:
hash = "sha256-s2AQ92VQOXg7lxjWZKsM5h+4IWnsnLRbOC2mAmr1nZo=";
};
# This is absolutely ugly and not nice
# In theory python should pick up the res as data files (manual bdist_wheel does manage to do so)
# but somehow this isn't the case with buildPythonPackage
# FIXME: Make this something more robus and "propper"
postInstall = ''
cp -ar $src/matrix_synapse_saml_mapper/res $out/lib/python*/site-packages/*/
'';
nativeBuildInputs = with pfinal; [
setuptools-scm
];