summary refs log tree commit diff
path: root/lib/sources.nix
AgeCommit message (Expand)AuthorFilesLines
2022-11-18lib/sources: make commitIdFromGitRepoOrError internal and use # for commentsArtturin1-8/+7
2022-11-07lib/sources: Make pathIsGitRepo not evaluate toString pathRobert Hensing1-7/+18
2022-11-06lib/sources: remove 2 usages of toString on a path which will be read using f...Artturin1-2/+2
2022-09-26lib/sources.nix: remove unused bindingfigsoda1-1/+0
2022-01-30lib.sources: Improve docsJan Tojnar1-48/+67
2021-09-17lib.cleanSource: ignore socketsAlyssa Ross1-1/+3
2021-05-29lib.sources.trace: initRobert Hensing1-0/+26
2021-05-29lib.sources.sourceFilesBySuffices: Improve docRobert Hensing1-5/+17
2021-05-29lib/tests/sources.sh: initRobert Hensing1-0/+1
2021-05-29lib/sources: Internal representation for cleanSourceWithRobert Hensing1-12/+56
2021-03-27lib: fix commitIdFromGitRepo (#117752)Léo Gaspard1-6/+7
2020-10-30lib/sources.nix: fix incorrect inheritV1-1/+1
2020-10-22lib/sources.nix: Prefer lib for readFile inheritRobert Hensing1-1/+1
2020-10-22lib: Use Nix's static scope checking, fix error message, optimizeRobert Hensing1-12/+28
2020-07-17commitIdFromGitRepo: fix stackoverflow if many branches are used.Jörg Thalheim1-3/+7
2020-03-23cleanSourceWith: don't use baseNameOfMichael Peyton Jones1-5/+2
2020-01-20nixos/version: fix case where .git is a symlinkFranz Pletz1-0/+1
2020-01-14lib.commitIdFromGitRepo: fix support for git-submoduleelseym1-4/+6
2020-01-10lib.commitIdFromGitRepo: support git-worktreeelseym1-6/+28
2019-09-03lib.cleanSourceWith: Allow name to be set, optional filter, docRobert Hensing1-4/+33
2019-07-19lib: allow sourceByRegex to be composed after cleanSourceWithBas van Dijk1-6/+10
2019-04-29treewide: Remove usage of isNullDaniel Schaefer1-2/+2
2019-04-08lib.cleanSourceFilter: Filter all .git, not just directoriesSilvan Mosberger1-2/+2
2018-11-08lib: commitIdFromGitRepo: simplify a tiny bitJan Malakhovski1-3/+3
2018-10-02docs: documentation for `cleanSource`Tobias Pflug1-0/+4
2018-01-11callCabal2nix: Fix calling with a path in the store.Shea Levy1-0/+4
2018-01-09Added `lib.cleanSourceWith` as composable version of `filterSource`Will Fancher1-5/+26
2017-09-16Convert libs to a fixed-pointGraham Christensen1-2/+1
2017-09-12lib.cleanSourceFilter: Fix VIM swap file filteringTuomas Tynkkynen1-2/+3
2017-08-29Deduplicate some filterSource invocationsDan Peebles1-0/+2
2017-02-17lib: Add a function to filter sources by regular expressions.Tom Hunger1-0/+6
2016-11-17Expose guts of `cleanSource`Elliot Cameron1-13/+13
2016-08-08lib/sources.nix@commitIdFromGitRepo: parenthesize what should always have beenobadz1-1/+1
2016-08-06cleanSource: filter out also nix result symlinks (#16120)Domen Kožar1-1/+3
2016-08-01lib: refactor commitIdFromGitRepo with fileContentsEric Sagnes1-3/+3
2016-07-27lib/sources.nix@commitIdFromGitRepo: remove use of lib.splitStringobadz1-4/+5
2016-06-03nixos/modules/misc/version.nix: check that .git is a directoryobadz1-0/+6
2016-05-24modules/misc/version.nix: populate nixosRevision based on <nixpkgs/.git> when...obadz1-0/+26
2014-08-25Manual: Handle XML files in subdirectoriesEelco Dolstra1-3/+3
2014-02-06cleanSources: Filter *.o and *.soEelco Dolstra1-1/+4
2014-02-03cleanSource: Support MercurialEelco Dolstra1-1/+1
2013-10-10Move pkgs/lib/ to lib/Eelco Dolstra1-0/+29