Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created December 12, 2023 15:37
Show Gist options
  • Save GrahamcOfBorg/ba2bf54f652ba1e89c1552139c48778a to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/ba2bf54f652ba1e89c1552139c48778a 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 /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/.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 /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/lib/attrsets.nix:738:43:
737| f:
738| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
739|
… while calling anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/top-level/release-lib.nix:125:6:
124| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
125| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
126|
… while evaluating call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/top-level/release-lib.nix:125:14:
124| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
125| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
126|
… while calling 'hydraJob'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/lib/customisation.nix:275:14:
274| */
275| hydraJob = drv:
| ^
276| let
… while evaluating the attribute 'outPath'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/lib/customisation.nix:291:13:
290| value = commonAttrs // {
291| outPath = output.outPath;
| ^
292| drvPath = output.drvPath;
… while evaluating the attribute 'outPath'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/lib/customisation.nix:250:13:
249| drvPath = assert condition; drv.${outputName}.drvPath;
250| outPath = assert condition; drv.${outputName}.outPath;
| ^
251| } //
… while evaluating the attribute 'libcudaPath' of the derivation 'auto-add-cuda-compat-runpath-hook'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:348:7:
347| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
348| name =
| ^
349| let
… while evaluating the attribute 'src' of the derivation 'cuda_compat-11.8.31339915'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:348:7:
347| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
348| name =
| ^
349| let
… while evaluating call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/development/cuda-modules/generic-builders/manifest.nix:112:11:
111|
112| src = fetchurl {
| ^
113| url = "https://developer.download.nvidia.com/compute/${redistName}/redist/${
… while calling anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/build-support/fetchurl/default.nix:41:1:
40|
41| { # URL to fetch.
| ^
42| url ? ""
… while evaluating call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/build-support/fetchurl/default.nix:144:1:
143|
144| stdenvNoCC.mkDerivation ((
| ^
145| if (pname != "" && version != "") then
… while calling anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:600:3:
599| in
600| fnOrAttrs:
| ^
601| if builtins.isFunction fnOrAttrs
… while evaluating call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:603:10:
602| then makeDerivationExtensible fnOrAttrs
603| else makeDerivationExtensibleConst fnOrAttrs
| ^
604|
… while calling 'makeDerivationExtensibleConst'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:90:35:
89| # but pre-evaluated for a slight improvement in performance.
90| makeDerivationExtensibleConst = attrs:
| ^
91| mkDerivationSimple
… while evaluating call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:91:5:
90| makeDerivationExtensibleConst = attrs:
91| mkDerivationSimple
| ^
92| (f0:
… while calling 'mkDerivationSimple'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/stdenv/generic/make-derivation.nix:118:1:
117| # Explanation about derivations in general
118| {
| ^
119|
… while evaluating the attribute 'outputHashAlgo'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/build-support/fetchurl/default.nix:165:18:
164| # New-style output content requirements.
165| inherit (hash_) outputHashAlgo outputHash;
| ^
166|
… while evaluating call site
at «none»:0: (source not available)
… while calling anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/build-support/fetchurl/default.nix:123:40:
122| hash_ =
123| if with lib.lists; length (filter (s: s != "") [ hash outputHash sha1 sha256 sha512 ]) > 1
| ^
124| then throw "multiple hashes passed to fetchurl" else
error: attribute 'linux-x86_64' missing
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-7/pkgs/development/cuda-modules/generic-builders/manifest.nix:116:16:
115| }";
116| inherit (redistribRelease.${redistArch}) sha256;
| ^
117| };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment