Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created June 29, 2024 08:21
Show Gist options
  • Save GrahamcOfBorg/0f154ef661dc84a5f163aec353a38993 to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/0f154ef661dc84a5f163aec353a38993 to your computer and use it in GitHub Desktop.
nix-env failed:
error:
… while calling anonymous lambda
at /ofborg/checkout/2/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
… from call site
at /ofborg/checkout/2/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/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/top-level/release-lib.nix:146:6:
145| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
146| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
147|
… from call site
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/top-level/release-lib.nix:146:14:
145| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
146| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
147|
… while calling 'hydraJob'
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/customisation.nix:388:14:
387| */
388| hydraJob = drv:
| ^
389| let
… while evaluating derivation 'otree-0.2.0'
whose name attribute is located at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'cargoDeps' of derivation 'otree-0.2.0'
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/build-support/rust/build-rust-package/default.nix:101:10:
100| } // {
101| inherit buildAndTestSubdir cargoDeps;
| ^
102|
… while evaluating derivation 'cargo-vendor-dir'
whose name attribute is located at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'cargo-vendor-dir'
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… from call site
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/pkgs/build-support/rust/import-cargo-lock.nix:82:22:
81| # individually.
82| gitShaOutputHash = lib.mapAttrs' (nameVer: hash:
| ^
83| let
… while calling 'mapAttrs''
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-4/lib/attrsets.nix:1057:5:
1056| f:
1057| set:
| ^
1058| listToAttrs (map (attr: f attr set.${attr}) (attrNames set));
error: path '/nix/store/gma89bdvga8qqfmr3hwxjmbppimva1fi-source.drv' is not valid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment