pkg.nix: reduce rebuilds by filtering out *.nix

This commit is contained in:
Astro 2020-12-03 22:44:02 +01:00
parent d5ec922ab7
commit dcddc1eec6
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@
mkDerivation {
pname = "yammat";
version = "0.0.8";
src = ./.;
src = builtins.filterSource (
path: type: builtins.match ".*\.nix" path == null
) ./.;
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [