At the moment this seems to be the neatest way:
haskellPackages.developPackage rec {
root = ./.;
modifier = drv:
pkgs.haskell.lib.overrideSrc drv {
src = (pkgs.nix-gitignore.gitignoreSource [ ] root);
};
}
Sadly this doesn't work:
haskellPackages.developPackage rec {
root = pkgs.nix-gitignore.gitignoreSource [ ] ./.;
}
At the moment this seems to be the neatest way:
Sadly this doesn't work: