MCPcopy Index your code
hub / github.com/jetify-com/devbox / nixpkgsCommitFilePath

Function nixpkgsCommitFilePath

internal/nix/nixpkgs.go:108–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108func nixpkgsCommitFilePath() string {
109 cacheDir := xdg.CacheSubpath("devbox")
110 return filepath.Join(cacheDir, "nixpkgs.json")
111}
112
113// IsGithubNixpkgsURL returns true if the package is a flake of the form:
114// github:NixOS/nixpkgs/...

Callers 2

saveToNixpkgsCommitFileFunction · 0.85

Calls 1

CacheSubpathFunction · 0.92

Tested by

no test coverage detected