Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created April 24, 2024 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GrahamcOfBorg/9f3713e9dad3e9b777de052754969092 to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/9f3713e9dad3e9b777de052754969092 to your computer and use it in GitHub Desktop.
Failure
trace: warning: lib.zip is a deprecated alias of lib.zipAttrsWith.
trace: warning: lib.zipWithNames is a deprecated alias of lib.zipAttrsWithNames.
trace: warning: lib.strings.isCoercibleToString is deprecated in favor of either isStringLike or isConvertibleWithToString. Only use the latter if it needs to return true for null, numbers, booleans and list of similarly coercibles.
trace: warning: lib.readPathsFromFile is deprecated, use a list instead.
trace: warning: lib.replaceChars is a deprecated alias of lib.replaceStrings.
trace: warning: lib.nixpkgsVersion is a deprecated alias of lib.version.
trace: warning: lib.crossLists is deprecated, use lib.mapCartesianProduct instead.
For example, the following function call:
nix-repl> lib.crossLists (x: y: x+y) [[1 2] [3 4]]
[ 4 5 5 6 ]
Can now be replaced by the following one:
nix-repl> lib.mapCartesianProduct ({x,y}: x+y) { x = [1 2]; y = [3 4]; }
[ 4 5 5 6 ]
trace: warning: lib.literalExample is deprecated, use lib.literalExpression instead, or use lib.literalMD for a non-Nix description.
trace: warning: lib.sources.pathIsDirectory has been moved to lib.filesystem.pathIsDirectory.
trace: warning: lib.sources.pathIsRegularFile has been moved to lib.filesystem.pathIsRegularFile.
trace: warning: lib.sources.pathType has been moved to lib.filesystem.pathType.
error:
… while evaluating the attribute 'constituents' of the derivation 'nixpkgs-24.05pre999999.f2f62fe'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… while evaluating the attribute 'darwin.linux-builder.x86_64-darwin'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/attrsets.nix:984:14:
983| value:
984| { inherit name value; };
| ^
985|
… while evaluating call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/attrsets.nix:1248:43:
1247| f:
1248| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
1249|
… while calling anonymous lambda
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/top-level/release-lib.nix:145:6:
144| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
145| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
146|
… while evaluating call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/top-level/release-lib.nix:145:14:
144| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
145| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
146|
… while calling 'hydraJob'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/customisation.nix:388:14:
387| */
388| hydraJob = drv:
| ^
389| let
… while evaluating the attribute 'outPath'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/customisation.nix:404:13:
403| value = commonAttrs // {
404| outPath = output.outPath;
| ^
405| drvPath = output.drvPath;
… while evaluating the attribute 'outPath'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/customisation.nix:352:13:
351| drvPath = assert condition; drv.${outputName}.drvPath;
352| outPath = assert condition; drv.${outputName}.outPath;
| ^
353| } //
… while evaluating the attribute 'text' of the derivation 'create-builder'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… while evaluating call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/nixos/modules/profiles/macos-builder.nix:179:67:
178| fi
179| KEYS="$(${hostPkgs.nix}/bin/nix-store --add "$KEYS")" ${lib.getExe config.system.build.vm}
| ^
180| '');
… while calling 'getExe'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/meta.nix:165:12:
164| */
165| getExe = x: getExe' x (x.meta.mainProgram or (
| ^
166| # This could be turned into an error when 23.05 is at end of life
… while evaluating call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/meta.nix:165:15:
164| */
165| getExe = x: getExe' x (x.meta.mainProgram or (
| ^
166| # This could be turned into an error when 23.05 is at end of life
… while calling 'getExe''
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/meta.nix:181:16:
180| */
181| getExe' = x: y:
| ^
182| assert assertMsg (isDerivation x)
… while evaluating the attribute 'buildCommand' of the derivation 'nixos-vm'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… while evaluating the attribute 'text' of the derivation 'run-nixos-vm'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… while evaluating the attribute 'handled'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:507:7:
506| # or, alternatively, just output a warning message.
507| handled =
| ^
508| (
… while evaluating call site
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:511:13:
510| else if valid == "no" then (
511| handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; }
| ^
512| )
… while calling 'handleEvalIssue'
at /ofborg/checkout/1/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:269:38:
268|
269| handleEvalIssue = { meta, attrs }: { reason , errormsg ? "" }:
| ^
270| let
error: Failed to evaluate qemu-host-cpu-only-9.0.0: «broken»: is marked as broken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment