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

nix: Update all inputs #564

Merged
merged 4 commits into from
Dec 24, 2024
Merged

nix: Update all inputs #564

merged 4 commits into from
Dec 24, 2024

Conversation

srid
Copy link
Owner

@srid srid commented Dec 24, 2024

No description provided.

@srid srid marked this pull request as ready for review December 24, 2024 14:05
@srid
Copy link
Owner Author

srid commented Dec 24, 2024

Same build failure on macOS as #557

@srid
Copy link
Owner Author

srid commented Dec 24, 2024

error: output '/nix/store/1i44wa0v4lwagr0b43sd0z2rj9prn926-emanote-source-1.3.18.1' is not allowed to refer to the following paths:
         /nix/store/4jffra4rajjhpb4ihlnhm3njnzskzrnc-ghc-9.6.6
error: 1 dependencies of derivation '/nix/store/bfkn8m2ig9gw77ccsgakz319zz8lkaj8-emanote-1.3.18.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fn2m0ianck5c1x0yj6ralz8lavnya0qg-devour-output.json.drv' failed to build

justStaticExecutables is the issue

justStaticExecutables is practically useless since GHC is pulled in transitively.

NixOS/nixpkgs#318013

@srid
Copy link
Owner Author

srid commented Dec 24, 2024

Using the improved Nix from @roberth 's PR NixOS/nix#10877

❯ nix run github:hercules-ci/nix/report-forbidden-path-as-chain build
...
error: output '/nix/store/1i44wa0v4lwagr0b43sd0z2rj9prn926-emanote-source-1.3.18.1' is not allowed to refer to the following paths:
         /nix/store/4jffra4rajjhpb4ihlnhm3njnzskzrnc-ghc-9.6.6
error: 1 dependencies of derivation '/nix/store/bfkn8m2ig9gw77ccsgakz319zz8lkaj8-emanote-1.3.18.1.drv' failed to build

Hmm, that doesn't behave like the PR description says it would? @roberth Any ideas?

@srid srid force-pushed the update-nixpkgs branch 2 times, most recently from 14e328e to 816f982 Compare December 24, 2024 17:23
@srid
Copy link
Owner Author

srid commented Dec 24, 2024

Undoing #392 (#295) for macOS to get this PR merged. Somebody else can fix this upstream and/or here.

@srid srid merged commit 55c1161 into master Dec 24, 2024
7 checks passed
@srid srid deleted the update-nixpkgs branch December 24, 2024 17:27
@roberth
Copy link
Contributor

roberth commented Dec 24, 2024

NixOS/nix#10877

It was probably built by your system's nix daemon instead. You could use --store ~/tmp-store on NixOS, or install the PR system-wide otherwise, or run it with sudo.

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

Successfully merging this pull request may close these issues.

2 participants