We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e3a24 commit 50b7687Copy full SHA for 50b7687
internal/lock/lockfile.go
@@ -118,20 +118,6 @@ func (l *File) ForceResolve(pkg string) (*Package, error) {
118
return l.Resolve(pkg)
119
}
120
121
-func (l *File) ResolveToCurrentNixpkgCommitHash(pkg string) error {
122
- name, version, found := strings.Cut(pkg, "@")
123
- if found && version != "latest" {
124
- return errors.New(
125
- "only allowed version is @latest. Otherwise we can't guarantee the " +
126
- "version will resolve")
127
- }
128
- l.Packages[pkg] = &Package{
129
- Resolved: l.LegacyNixpkgsPath(name),
130
- Source: NixpkgSource,
131
132
- return nil
133
-}
134
-
135
func (l *File) Save() error {
136
return cuecfg.WriteFile(lockFilePath(l.devboxProject), l)
137
0 commit comments