From e5d147a98d7b817cbcd8172c9921d1c15f992c21 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Wed, 23 Aug 2023 07:50:15 +0200 Subject: [PATCH] Fix completion installation in nix flake --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4cbb7fc..5fe7327 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,10 @@ name = "khard-${version}"; version = "${oa.version}post-dev+${if self ? shortRev then self.shortRev else "dirty"}"; SETUPTOOLS_SCM_PRETEND_VERSION = version; - postInstall = "cp -r $src/khard/data $out/lib/python*/site-packages/khard"; + postInstall = '' + ${oa.postInstall} + cp -r $src/khard/data $out/lib/python*/site-packages/khard + ''; src = ./.; }); devShells.x86_64-linux.release =