Skip to content

Instantly share code, notes, and snippets.

@GrahamcOfBorg
Created January 29, 2023 13:42
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/de9a8ef51a33ed7fcd80489be31581be to your computer and use it in GitHub Desktop.
Save GrahamcOfBorg/de9a8ef51a33ed7fcd80489be31581be to your computer and use it in GitHub Desktop.
nix-env failed:
error: access to absolute path '/var/lib/nix/store/hbqyqj82f8zidn1v1yad9iwzzs5n9dzm-source' is forbidden in restricted mode
… while adding path '/var/lib/nix/store/hbqyqj82f8zidn1v1yad9iwzzs5n9dzm-source'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/build-support/nix-gitignore/default.nix:156:5:
155| gitignoreFilterSourcePure = filter: patterns: root:
156| filterSource (gitignoreFilterPure filter patterns root) root;
| ^
157|
… while calling 'gitignoreFilterSourcePure'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/build-support/nix-gitignore/default.nix:155:49:
154|
155| gitignoreFilterSourcePure = filter: patterns: root:
| ^
156| filterSource (gitignoreFilterPure filter patterns root) root;
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/servers/audiobookshelf/node-deps.nix:910:13:
909| name = args.name + "-package-json";
910| src = nix-gitignore.gitignoreSourcePure [
| ^
911| "*"
… while evaluating the attribute 'src' of the derivation 'audiobookshelf-package-json'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/stdenv/generic/make-derivation.nix:286:7:
285| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
286| name =
| ^
287| let
… while evaluating the attribute 'installPhase' of the derivation 'node-dependencies-audiobookshelf-2.2.12'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/stdenv/generic/make-derivation.nix:286:7:
285| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
286| name =
| ^
287| let
… while evaluating the attribute 'installPhase' of the derivation 'audiobookshelf-2.2.12'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/stdenv/generic/make-derivation.nix:286:7:
285| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
286| name =
| ^
287| let
… while evaluating the attribute 'outPath'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/lib/customisation.nix:215:13:
214| drvPath = assert condition; drv.${outputName}.drvPath;
215| outPath = assert condition; drv.${outputName}.outPath;
| ^
216| };
… while evaluating the attribute 'outPath'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/lib/customisation.nix:245:13:
244| value = commonAttrs // {
245| outPath = output.outPath;
| ^
246| drvPath = output.drvPath;
… while calling 'hydraJob'
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/lib/customisation.nix:229:14:
228| garbage collection. */
229| hydraJob = drv:
| ^
230| let
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/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 anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/pkgs/top-level/release-lib.nix:125:6:
124| testOnCross = crossSystem: metaPatterns: f: forMatchingSystems metaPatterns
125| (system: hydraJob' (f (pkgsForCross crossSystem system)));
| ^
126|
… from call site
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/lib/attrsets.nix:558:43:
557| f:
558| listToAttrs (map (n: nameValuePair n (f n)) names);
| ^
559|
… while calling anonymous lambda
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-0/.gc-of-borg-outpaths.nix:47:12:
46| tweak = lib.mapAttrs
47| (name: val:
| ^
48| if name == "recurseForDerivations" then true
… from call site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment