Commit graph

7 commits

Author SHA1 Message Date
V
7a023a99ca Make gitignoreSourceWith short-circuit
This has been broken since its introduction due to a typo.
`lib.cleanSourceWith` uses the field `origSrc` to store the initial path
prior to processing— which is presumably what the author intended.

With this change, `gitignoreSource (lib.sources.trace /path/to/repo)` no
longer incorrectly prints ignored paths.

Change-Id: I475cee9576dd9969f5fe5127d937bc7fb480eb22
2024-02-22 11:33:06 +01:00
Robert Hensing
998b4b7318 Add *With functions to allow for more parameters 2021-10-25 14:23:03 +02:00
Robert Hensing
1679da2db2
Update default.nix
Co-Authored-By: Domen Kožar <domen@dev.si>
2019-09-12 11:09:23 +02:00
Robert Hensing
23d2f2b0fd Always deterministic, composable on newer Nixpkgs 2019-09-11 16:53:36 +02:00
Robert Hensing
0f1a8d59d5 Use cleanSourceWith again 2019-09-06 21:44:27 +02:00
Yegor Timoshenko
f7c8b7f8d1
gitignoreSource: ensure Nix store path determinism
This ensures that, when used in situations like `gitignoreSource ./.`,                                          
both Hydra and local checkout will have the exact same Nix path.
2019-08-19 16:16:12 +00:00
Robert Hensing
bcc385e399 Add IFD-free gitignoreSource implementation 2019-05-12 13:48:32 +02:00