Skip to content

Commit

Permalink
Fix completion installation in nix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Aug 23, 2023
1 parent b864b4f commit e5d147a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit e5d147a

Please sign in to comment.