matrix-synapse-saml-mapper: Hotfix missing res dir
This commit is contained in:
parent
2ba5a98d16
commit
dcc1f00006
1 changed files with 8 additions and 0 deletions
|
@ -165,6 +165,14 @@ final: prev:
|
||||||
hash = "sha256-s2AQ92VQOXg7lxjWZKsM5h+4IWnsnLRbOC2mAmr1nZo=";
|
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; [
|
nativeBuildInputs = with pfinal; [
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue