Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Failing restricted mode #2

Open
clacke opened this issue Nov 22, 2018 · 1 comment
Open

Problem: Failing restricted mode #2

clacke opened this issue Nov 22, 2018 · 1 comment

Comments

@clacke
Copy link
Member

clacke commented Nov 22, 2018

Hydra:

hydra-eval-jobs returned exit code 1:
error: access to path '/nix/store/m9lx2msbxvhgigk3aayjqmnja18fy71l-lookup' is forbidden in restricted mode
@clacke
Copy link
Member Author

clacke commented Nov 22, 2018

Reproduced locally:

fractalide/tezos-baking-platform$ nix-build --option restrict-eval true release.nix -I pwd=$PWD -I nixpkgs=$(readlink -e ~/.nix-defexpr/channels/nixpkgs) --show-trace
error: while evaluating the attribute 'baseJson' of the derivation 'docker-image-tezos-bake-monitor.tar.gz' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating the attribute 'text' of the derivation 'tezos-bake-monitor-config.json' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating the attribute 'text' of the derivation 'entrypoint.sh' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating the attribute 'buildCommand' of the derivation 'dockerExe' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating the attribute 'buildCommand' of the derivation 'serverExe' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating the attribute 'buildInputs' of the derivation 'backend-0.1' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating the attribute 'propagatedBuildInputs' of the derivation 'obelisk-run-0.1' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating 'getOutput' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/lib/attrsets.nix:452:23, called from undefined position:
while evaluating anonymous function at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/stdenv/generic/make-derivation.nix:141:17, called from undefined position:
while evaluating 'haskellPackage' at /nix/store/xp2g827g0ccsw41gmbiwarczhbm0fnsr-source/lib/executable-config/default.nix:19:20, called from /nix/store/xp2g827g0ccsw41gmbiwarczhbm0fnsr-source/default.nix:100:33:
while evaluating 'callPackage' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/development/haskell-modules/make-package-set.nix:114:22, called from /nix/store/xp2g827g0ccsw41gmbiwarczhbm0fnsr-source/lib/executable-config/default.nix:19:26:
while evaluating 'callPackageWithScope' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/development/haskell-modules/make-package-set.nix:74:37, called from /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/development/haskell-modules/make-package-set.nix:114:28:
while evaluating 'makeOverridable' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/lib/customisation.nix:67:24, called from /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/development/haskell-modules/make-package-set.nix:97:8:
while evaluating 'drvScope' at /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/pkgs/development/haskell-modules/make-package-set.nix:87:18, called from /nix/store/5rqmsvw0am0qp0z83bh6fjqf4j97ajvy-source/lib/customisation.nix:69:12:
access to path '/nix/store/m9lx2msbxvhgigk3aayjqmnja18fy71l-lookup' is forbidden in restricted mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant