Commit Graph

38 Commits (1f15388af162cfabf5f5fb7f4bc2099715ca428b)

Author SHA1 Message Date
Jan Tojnar 1e1396aafc lib.sources: Improve docs 2 years ago
Alyssa Ross f446318916
lib.cleanSource: ignore sockets 3 years ago
Robert Hensing 4cf56e5640 lib.sources.trace: init 3 years ago
Robert Hensing 970273023a lib.sources.sourceFilesBySuffices: Improve doc 3 years ago
Robert Hensing d14be76615 lib/tests/sources.sh: init 3 years ago
Robert Hensing dfd2b1bd90 lib/sources: Internal representation for cleanSourceWith 3 years ago
Léo Gaspard 144a997c8e
lib: fix commitIdFromGitRepo (#117752) 3 years ago
V 3e1652f8f0 lib/sources.nix: fix incorrect inherit 4 years ago
Robert Hensing a4019a40b3 lib/sources.nix: Prefer lib for readFile inherit 4 years ago
Robert Hensing afa6c51f27 lib: Use Nix's static scope checking, fix error message, optimize 4 years ago
Jörg Thalheim d7e89fa661
commitIdFromGitRepo: fix stackoverflow if many branches are used. 4 years ago
Michael Peyton Jones 07f363fae3
cleanSourceWith: don't use baseNameOf 4 years ago
Franz Pletz 46773a15b3
nixos/version: fix case where .git is a symlink 4 years ago
elseym 9d396d2e42
lib.commitIdFromGitRepo: fix support for git-submodule 4 years ago
elseym c9214c394b
lib.commitIdFromGitRepo: support git-worktree 5 years ago
Robert Hensing 9a2180fa0b lib.cleanSourceWith: Allow name to be set, optional filter, doc 5 years ago
Bas van Dijk 58ea28eb2c lib: allow sourceByRegex to be composed after cleanSourceWith 5 years ago
Daniel Schaefer 786f02f7a4 treewide: Remove usage of isNull 5 years ago
Silvan Mosberger eb09fd5a88
lib.cleanSourceFilter: Filter all .git, not just directories 5 years ago
Jan Malakhovski 2f5e4c733b lib: commitIdFromGitRepo: simplify a tiny bit 6 years ago
Tobias Pflug 1d68b5ee84 docs: documentation for `cleanSource` 6 years ago
Shea Levy 4e78aeb441
callCabal2nix: Fix calling with a path in the store. 7 years ago
Will Fancher 7e5f37d73b Added `lib.cleanSourceWith` as composable version of `filterSource` 7 years ago
Graham Christensen 152c63c9ff
Convert libs to a fixed-point 7 years ago
Tuomas Tynkkynen 9275c3387e lib.cleanSourceFilter: Fix VIM swap file filtering 7 years ago
Dan Peebles e2589b3ca2 Deduplicate some filterSource invocations 7 years ago
Tom Hunger cb96ed615e lib: Add a function to filter sources by regular expressions. 7 years ago
Elliot Cameron 402c07c563 Expose guts of `cleanSource` 8 years ago
obadz f242b752fe lib/sources.nix@commitIdFromGitRepo: parenthesize what should always have been 8 years ago
Domen Kožar 39e689e316 cleanSource: filter out also nix result symlinks (#16120) 8 years ago
Eric Sagnes 85d8b01660 lib: refactor commitIdFromGitRepo with fileContents 8 years ago
obadz fee334f672 lib/sources.nix@commitIdFromGitRepo: remove use of lib.splitString 8 years ago
obadz 4c5fdf42ed nixos/modules/misc/version.nix: check that .git is a directory 8 years ago
obadz 47950b5353 modules/misc/version.nix: populate nixosRevision based on <nixpkgs/.git> when possible (#15624) 8 years ago
Eelco Dolstra b1ce3cc172 Manual: Handle XML files in subdirectories 10 years ago
Eelco Dolstra de9ed78ab2 cleanSources: Filter *.o and *.so 11 years ago
Eelco Dolstra 34638ebc1e cleanSource: Support Mercurial 11 years ago
Eelco Dolstra 5fef92c4a0 Move pkgs/lib/ to lib/ 11 years ago
Nicolas Pierron 736523d992 cleanSource: Avoid copying git files. 15 years ago
Eelco Dolstra 599015e8b0 * Split lib/default.nix into several files, as it had become a big 16 years ago