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 {
|
mkDerivation {
|
||||||
pname = "yammat";
|
pname = "yammat";
|
||||||
version = "0.0.8";
|
version = "0.0.8";
|
||||||
src = ./.;
|
src = builtins.filterSource (
|
||||||
|
path: type: builtins.match ".*\.nix" path == null
|
||||||
|
) ./.;
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
libraryHaskellDepends = [
|
libraryHaskellDepends = [
|
||||||
|
|
Loading…
Reference in a new issue