default.nix: filter package root with nix-gitignore
so we don't copy stuff like `dist-newstyle`.
This commit is contained in:
parent
bbb7b49b0b
commit
59777e12b8
|
@ -180,7 +180,7 @@ let
|
|||
# General description of package
|
||||
package = haskellPackages.developPackage {
|
||||
name = "hnix";
|
||||
root = ./.;
|
||||
root = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
|
||||
|
||||
modifier = drv: pkgs.haskell.lib.overrideCabal drv (attrs: {
|
||||
buildTools = (attrs.buildTools or []) ++ [
|
||||
|
|
Loading…
Reference in New Issue