Skip to content
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

[Bug] mesa_git not cached in binary cache server #914

Closed
piyoki opened this issue Nov 4, 2024 · 1 comment
Closed

[Bug] mesa_git not cached in binary cache server #914

piyoki opened this issue Nov 4, 2024 · 1 comment

Comments

@piyoki
Copy link
Contributor

piyoki commented Nov 4, 2024

What happens?

Summary

I recently found out that the mesa_git package is not accessible from the binary cache server.

What is expected to happen?

mesa_git should be able to fetched from the default nyx binary cache server.

If possible, please attach logs

⯁ flake git:(master) ✗ ❯❯❯ just b
warning: Git tree '/home/kev/flake' is dirty
building the system configuration...
warning: Git tree '/home/kev/flake' is dirty
trace: evaluation warning: The ‘gnome.gnome-themes-extra’ was moved to top-level. Please use ‘pkgs.gnome-themes-extra’ directly.
[2/13/28 built, 2 copied (10.6/10.6 MiB), 2.6 MiB DL] building mesa-3a962a (buildPhase): [2010/4587] Compiling C object src/gallium/auxiliary/libgalliumvlwinsys.a.p/vl_vl_winsys_kopper.c.o

More information

# configuration.nix
{
  overlays = [
    inputs.chaotic.overlays.default
  ];

  chaotic.mesa-git.enable = true;
}
# flake.nix
{
  ...
  inputs = {
    chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
  }
}
@PedroHLC
Copy link
Member

PedroHLC commented Nov 4, 2024

It is in cache. Proof:

  • The drivers output, as in use in a NixOS:
nix-repl> :lf /etc/nixos

nix-repl> nixosConfigurations.desktop.config.hardware.graphics.package
«derivation /nix/store/8pq6677c9irdwvjlvbliw08himh90fyw-mesa-3a962a.drv»

nix-repl> nixosConfigurations.desktop.config.hardware.graphics.package.outPath
"/nix/store/ga889ppm4vxnxj6zv1rapwcjpgs9y61m-mesa-3a962a-drivers"
╰─λ curl -L 'https://chaotic-nyx.cachix.org/ga889ppm4vxnxj6zv1rapwcjpgs9y61m.narinfo'
StorePath: /nix/store/ga889ppm4vxnxj6zv1rapwcjpgs9y61m-mesa-3a962a-drivers
URL: nar/551e338fc11ada48e9c47262fd634a5ac366c13411350e46e0292962eba97bbd.nar.zst
Compression: zstd
FileHash: sha256:551e338fc11ada48e9c47262fd634a5ac366c13411350e46e0292962eba97bbd
FileSize: 41464365
NarHash: sha256:13nzlg4gkkzp2id98qspwxx65xsp02a403irb77whly6msbwv438
NarSize: 165124272
  • The out output, as seen from the flake:
╰─λ nix build 'github:chaotic-cx/nyx#mesa_git' --no-link --print-out-paths
/nix/store/2lixwvj0rqd71k1hx9vg8k8c1x9bbcra-mesa-3a962a
╰─λ curl -L 'https://chaotic-nyx.cachix.org/2lixwvj0rqd71k1hx9vg8k8c1x9bbcra.narinfo'
StorePath: /nix/store/2lixwvj0rqd71k1hx9vg8k8c1x9bbcra-mesa-3a962a
URL: nar/000db02ff8e36cfddc3e2bb85d5337a1580d6a3eb64203fc2092b1d93d2f892a.nar.zst
Compression: zstd
FileHash: sha256:000db02ff8e36cfddc3e2bb85d5337a1580d6a3eb64203fc2092b1d93d2f892a
FileSize: 16060941
NarHash: sha256:1l5mqpv686av744pjb8lslzdiphfbjg7w211h4yf4vckbcv23q31
NarSize: 49995576
  • If your hash in nixosConfigurations.$(hostname).config.hardware.graphics.package does not match the one from above, either:
    (1) you have conflicting overlays;
    (2) you are using chaotic.inputs.nixpkgs.follows, which we don't suppport;
    (3) you are mixing nixpkgs (like stable+unstable, or two different revisions of unstable for tapping bugs), which we don't endorse.

@PedroHLC PedroHLC closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants