Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created July 26, 2024 23:47
Show Gist options
  • Save GrahamcOfBorg/659f615ff4140c4f78a1403d0ce9dbaf to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/659f615ff4140c4f78a1403d0ce9dbaf 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-2/.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-2/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-2/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-2/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-2/lib/customisation.nix:388:14:
387| */
388| hydraJob = drv:
| ^
389| let
… while evaluating derivation 'traverso-0.49.6'
whose name attribute is located at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/make-derivation.nix:334:7
… while evaluating attribute 'cmakeFlags' of derivation 'traverso-0.49.6'
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/stdenv/generic/make-derivation.nix:559:7:
558| // {
559| cmakeFlags = makeCMakeFlags attrs;
| ^
560| mesonFlags = makeMesonFlags attrs;
error: attempt to call something which is not a function but a string
at /ofborg/checkout/2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/applications/audio/traverso/default.nix:19:19:
18|
19| cmakeFlags = [ (lib.cmakeFeature "WANT_PORTAUDIO" "1" "-DWANT_PULSEAUDIO=1" "-DWANT_MP3_ENCODE=1" "-DWANT_LV2=0") ];
| ^
20|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment