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

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 = [