Summary
I have an Ubuntu server running and I am so close to getting Fluxer working but I am getting this error.devenv up
✓ Configuring shell 8.8s
└ ✓ Evaluating Nix 1144 files 542ms
└ ✗ Evaluating shell 3773 files 5.2s
Error: × Evaluation error: Failed to get drvPath from shell derivation:
│ … while calling the 'derivationStrict' builtin
│ at «nix-internal»/derivation-internal.nix:37:12:
│ 36|
│ 37| strict = derivationStrict drvAttrs;
│ | ^
│ 38|
│
│
│ … while evaluating derivation 'devenv-shell'
│ whose name attribute is located at /nix/store/kkx2hzq20ggrwhy385jglnxjncg4lqck-source/pkgs/stdenv/generic/make-
│ derivation.nix:536:13
│
│ … while evaluating attribute 'shellHook' of derivation 'devenv-shell'
│ at /nix/store/kkx2hzq20ggrwhy385jglnxjncg4lqck-source/pkgs/build-support/mkshell/default.nix:44:7:
│ 43|
│ 44| shellHook = lib.concatStringsSep "\n" (
│ | ^
│ 45| lib.catAttrs "shellHook" (lib.reverseList inputsFrom ++ [ attrs ])
│
│
│ … while evaluating the option `enterShell ':
│
│ … while evaluating definitions from `/nix/store/w5nb8i03xljf9xl5myr5xlgy199x86kl-source/src/modules/integrations/git-
│ hooks.nix' :
│
│ (stack trace truncated; use '--show-trace' to show the full, detailed trace)
│
│
│ at /nix/store/w5nb8i03xljf9xl5myr5xlgy199x86kl-source/src/modules/integrations/git-hooks.nix:126:47:
│ 125| if [ -z " $ configFile " ]; then
│ 126| configFile ='${config.devenv.root}/${cfg.configPath}'
│ | ^
│ 127| fi
│
│ error: attribute 'configPath' missing Steps to reproduce
- git clone https://github.com/fluxerapp/fluxer.git
- cd fluxer/
- devenv shell
5 comments
Comment by tempest:squll.fartcore.ai
Comment by @Raviexthegod
cfg.configPathisn't defined, and so it errors out at the undefined variable. For anyone who already had a working devenv would have a state-file, and thus wouldn't run into this issue as they would exit the if statement at the state-file existing.Comment by @fr0lnx
git-hooks.configPath = ".git/hooks";to ``devenv.nix.Comment by @maxhille
Comment by @migdall
devenv.nixfiledevenv shelland got past the error.