Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created May 9, 2024 04:29
Show Gist options
  • Save GrahamcOfBorg/58ff496f91e96e965ce76431142cdf9c to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/58ff496f91e96e965ce76431142cdf9c to your computer and use it in GitHub Desktop.
nix-env failed:
error:
… while evaluating call site
at «none»:0: (source not available)
… while calling anonymous lambda
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/.gc-of-borg-outpaths.nix:48:12:
47| tweak = lib.mapAttrs
48| (name: val:
| ^
49| if name == "recurseForDerivations" then true
… while evaluating call site
at /ofborg/checkout/3/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/3/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/3/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/3/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/3/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/3/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 'buildInputs' of the derivation 'CHOWTapeModel-2.11.4'
at /ofborg/checkout/3/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 'buildInputs' of the derivation 'webkitgtk-2.44.1+abi=4.0'
at /ofborg/checkout/3/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 'buildInputs' of the derivation 'gst-plugins-bad-1.24.2'
at /ofborg/checkout/3/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 'cargoDeps' of the derivation 'librsvg-2.58.0'
at /ofborg/checkout/3/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 'nativeBuildInputs' of the derivation 'librsvg-deps-2.58.0-vendor.tar.gz'
at /ofborg/checkout/3/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/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:565:14:
564| };
565| validity = checkMeta.assertValidity { inherit meta attrs; };
| ^
566|
… while calling 'assertValidity'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:501:20:
500|
501| assertValidity = { meta, attrs }: let
| ^
502| validity = checkValidity attrs;
… while evaluating call site
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:502:18:
501| assertValidity = { meta, attrs }: let
502| validity = checkValidity attrs;
| ^
503| inherit (validity) valid;
… while calling anonymous lambda
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:400:5:
399| in
400| attrs:
| ^
401| # Check meta attribute types first, to make sure it is always called even when there are other issues
… while evaluating call site
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:414:13:
413| # --- Put checks that can be ignored here ---
414| else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
| ^
415| { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }
… while calling 'hasDeniedUnfreeLicense'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:121:28:
120| # `allowUnfreePredicate` function.
121| hasDeniedUnfreeLicense = attrs:
| ^
122| hasUnfreeLicense attrs &&
… while evaluating call site
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:122:5:
121| hasDeniedUnfreeLicense = attrs:
122| hasUnfreeLicense attrs &&
| ^
123| !allowUnfree &&
… while calling 'hasUnfreeLicense'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:97:22:
96|
97| hasUnfreeLicense = attrs: hasLicense attrs && isUnfree attrs.meta.license;
| ^
98|
… while evaluating call site
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:97:29:
96|
97| hasUnfreeLicense = attrs: hasLicense attrs && isUnfree attrs.meta.license;
| ^
98|
… while calling 'hasLicense'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/check-meta.nix:69:16:
68|
69| hasLicense = attrs:
| ^
70| attrs ? meta.license;
… while evaluating call site
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/build-support/rust/build-rust-package/default.nix:184:8:
183| ];
184| } // lib.optionalAttrs (manifest ? package.default-run) {
| ^
185| mainProgram = manifest.package.default-run;
… while calling 'optionalAttrs'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating call site
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/build-support/rust/build-rust-package/default.nix:105:14:
104| ;
105| manifest = lib.importTOML manifestPath;
| ^
106|
… while calling 'importTOML'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/trivial.nix:658:16:
657| */
658| importTOML = path:
| ^
659| builtins.fromTOML (builtins.readFile path);
… while realising the context of path '/nix/store/yg8072bwkbiy59zsz602qv6rb6k360nc-cargo-1.77.1-Cargo.toml'
at /ofborg/checkout/3/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/trivial.nix:659:24:
658| importTOML = path:
659| builtins.fromTOML (builtins.readFile path);
| ^
660|
error: path '/nix/store/alf75hvi36f54b17rjn6dk2yk1hp1wmb-cargo-1.77.1-Cargo.toml.drv' is not valid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment