Skip to content

Instantly share code, notes, and snippets.

@Jayman2000
Created March 14, 2024 19:08
Show Gist options
  • Save Jayman2000/ba71865d61f8a9d136ad550cbcf3db57 to your computer and use it in GitHub Desktop.
Save Jayman2000/ba71865d61f8a9d136ad550cbcf3db57 to your computer and use it in GitHub Desktop.
A log used to report an issue with a Nixpkgs PR: <https://github.com/NixOS/nixpkgs/pull/129388>
these 2 paths will be fetched (0.11 MiB download, 0.62 MiB unpacked):
/nix/store/xcx9prry5zc1ya5qpzdss3pkp03a32z4-nixpkgs-review-2.10.3
/nix/store/vjsnpg4awfwgwsp99zlcpsjpasn69lvq-python3.11-argcomplete-3.1.6
copying path '/nix/store/vjsnpg4awfwgwsp99zlcpsjpasn69lvq-python3.11-argcomplete-3.1.6' from 'https://cache.nixos.org'...
copying path '/nix/store/xcx9prry5zc1ya5qpzdss3pkp03a32z4-nixpkgs-review-2.10.3' from 'https://cache.nixos.org'...
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/129388/head:refs/nixpkgs-review/1
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 28 (delta 13), reused 17 (delta 13), pack-reused 4
Unpacking objects: 100% (28/28), 318.43 KiB | 3.66 MiB/s, done.
From https://github.com/NixOS/nixpkgs
573cead3dd6f..c9be2672ed59 master -> refs/nixpkgs-review/0
* [new ref] refs/pull/129388/head -> refs/nixpkgs-review/1
$ git worktree add /home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs c9be2672ed591e51f2399bb77f4fc819e2ce1063
Preparing worktree (detached HEAD c9be2672ed59)
Updating files: 100% (40457/40457), done.
HEAD is now at c9be2672ed59 etcher: remove (#295853)
$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f <nixpkgs> --nix-path nixpkgs=/home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs nixpkgs-overlays=/run/user/1000/tmpwoxnvmtq -qaP --xml --out-path --show-trace --no-allow-import-from-derivation
$ git merge --no-commit --no-ff f2673bf0509f8a5ecabe162a25941602690ef3af
Auto-merging pkgs/top-level/all-packages.nix
Automatic merge went well; stopped before committing as requested
$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f <nixpkgs> --nix-path nixpkgs=/home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs nixpkgs-overlays=/run/user/1000/tmpwoxnvmtq -qaP --xml --out-path --show-trace --no-allow-import-from-derivation --meta
error:
… from call site
at /home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs/pkgs/top-level/all-packages.nix:24033:21:
24032|
24033| openenclave-sgx = callPackage (import ../development/libraries/openenclave { type = "sgx"; }) { };
| ^
24034|
… while calling 'callPackageWith'
at /home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs/lib/customisation.nix:153:35:
152| */
153| callPackageWith = autoArgs: fn: args:
| ^
154| let
error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "llvmPackages_8" at /home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs/pkgs/development/libraries/openenclave/default.nix:8, did you mean "llvmPackages_9", "llvmPackages" or "llvmPackages_11"?'
https://github.com/NixOS/nixpkgs/pull/129388 failed to build: Failed to list packages: nix-env failed with exit code 1
$ git worktree remove -f /home/jayman/.cache/nixpkgs-review/pr-129388/nixpkgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment