@@ -203,7 +203,7 @@ data ReadThunkError
203203 deriving (Show)
204204
205205unpackedDirName :: FilePath
206−unpackedDirName = "unpacked"
206+unpackedDirName = "local"
207207
208208attrCacheFileName :: FilePath
209209attrCacheFileName = ".attr-cache"
@@ -554,7 +554,7 @@ let fetch = { private ? false, fetchSubmodules ? false, owner, repo, rev, sha256
554554 inherit owner repo rev sha256 fetchSubmodules private;
555555 };
556556 json = builtins.fromJSON (builtins.readFile ./github.json);
557−in if builtins.pathExists ./unpacked then ./unpacked else fetch json
557+in if builtins.pathExists ./local then ./local else fetch json
558558|]
559559
560560parseGitHubJsonBytes :: LBS.ByteString -> Either String ThunkPtr
@@ -646,7 +646,7 @@ let fetch = {url, rev, branch ? null, sha256 ? null, fetchSubmodules ? false, pr
646646 url = realUrl; inherit rev sha256;
647647 };
648648 json = builtins.fromJSON (builtins.readFile ./git.json);
649−in if builtins.pathExists ./unpacked then ./unpacked else fetch json
649+in if builtins.pathExists ./local then ./local else fetch json
650650|]
651651
652652parseGitJsonBytes :: LBS.ByteString -> Either String ThunkPtr
@@ -655,7 +655,7 @@ parseGitJsonBytes = parseJsonObject $ parseThunkPtr $ fmap ThunkSource_Git . par
655655mkThunkSpec :: Text -> FilePath -> (LBS.ByteString -> Either String ThunkPtr) -> Text -> ThunkSpec
656656mkThunkSpec name jsonFileName parser srcNix = ThunkSpec name $ Map.fromList
657657 [ ("default.nix", ThunkFileSpec_FileMatches defaultNixViaSrc)
658− , ("src.nix", ThunkFileSpec_FileMatches srcNix)
658+ , ("thunk.nix", ThunkFileSpec_FileMatches srcNix)
659659 , (jsonFileName, ThunkFileSpec_Ptr parser)
660660 , (attrCacheFileName, ThunkFileSpec_AttrCache)
661661 , (unpackedDirName, ThunkFileSpec_CheckoutIndicator)
@@ -663,7 +663,7 @@ mkThunkSpec name jsonFileName parser srcNix = ThunkSpec name $ Map.fromList
663663 where
664664 defaultNixViaSrc = [here|
665665# DO NOT HAND-EDIT THIS FILE
666−import (import ./src.nix)
666+import (import ./thunk.nix)
667667|]
668668
669669