pkg.nix: reduce rebuilds by filtering out *.nix
This commit is contained in:
parent
d5ec922ab7
commit
dcddc1eec6
1 changed files with 3 additions and 1 deletions
4
pkg.nix
4
pkg.nix
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue