Skip to content

[rm-nixpkgs] drop warning about missing store path when updating lockfile #1459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions internal/lock/resolve.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package lock
import (
"context"
"fmt"
"os"
"sync"
"time"

Expand All @@ -17,7 +16,6 @@ import (
"go.jetpack.io/devbox/internal/debug"
"go.jetpack.io/devbox/internal/nix"
"go.jetpack.io/devbox/internal/searcher"
"go.jetpack.io/devbox/internal/ux"
"golang.org/x/exp/maps"
"golang.org/x/sync/errgroup"
)
Expand Down Expand Up @@ -103,12 +101,6 @@ func buildLockSystemInfos(pkg *searcher.PackageVersion) (map[string]*SystemInfo,
path, err := nix.StorePathFromHashPart(ctx, sysInfo.StoreHash, "https://cache.nixos.org")
if err != nil {
// Should we report this to sentry to collect data?
ux.Fwarning(
os.Stderr,
"Failed to resolve store path for %s with storeHash %s. Installing will be a bit slower.\n",
sysName,
sysInfo.StoreHash,
)
debug.Log(
"Failed to resolve store path for %s with storeHash %s. Error is %s.\n",
sysName,
Expand Down