···773773774774: Whether to fetch LFS objects.
775775776776+*`preFetch`* (String)
777777+778778+: Shell code to be executed before the repository has been fetched, to allow
779779+ changing the environment the fetcher runs in.
780780+776781*`postFetch`* (String)
777782778778-: Shell code executed after the file has been fetched successfully.
783783+: Shell code executed after the repository has been fetched successfully.
779784 This can do things like check or transform the file.
780785781786*`leaveDotGit`* (Boolean)
···3838 nonConeMode ? false,
3939 name ? null,
4040 nativeBuildInputs ? [ ],
4141+ # Shell code executed before the file has been fetched. This, in
4242+ # particular, can do things like set NIX_PREFETCH_GIT_CHECKOUT_HOOK to
4343+ # run operations between the checkout completing and deleting the .git
4444+ # directory.
4545+ preFetch ? "",
4146 # Shell code executed after the file has been fetched
4247 # successfully. This can do things like check or transform the file.
4348 postFetch ? "",
···7580 server admins start using the new version?
7681 */
77827878- assert deepClone -> leaveDotGit;
7983 assert nonConeMode -> (sparseCheckout != [ ]);
80848185 let
···130134 deepClone
131135 branchName
132136 nonConeMode
137137+ preFetch
133138 postFetch
134139 ;
135140 rev = revWithTag;