Edit history

Earlier versions of Running devenv shell in Ubuntu server displays the error: attribute 'configPath' missing, newest first.

Current version | Edited by Rex
Changes
3. devenv shellRemoved: ### Environment (optional)Removed: Removed: _No response_Removed: Removed: ### Logs or screenshots (optional)Removed: Removed: _No response_Removed: Removed: ### ChecksRemoved: Removed: - [x] I searched for existing issues and didn't find a duplicate.Removed:
Show

Running devenv shell in Ubuntu server displays the error: attribute 'configPath' missing

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

  1. git clone https://github.com/fluxerapp/fluxer.git
  2. cd fluxer/
  3. devenv shell
Edited by Rex
Changes
│ │ error: attribute 'configPath' missingRemoved: `Added: ```### Steps to reproduce
Show

Running devenv shell in Ubuntu server displays the error: attribute 'configPath' missing

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

  1. git clone https://github.com/fluxerapp/fluxer.git
  2. cd fluxer/
  3. devenv shell

Environment (optional)

No response

Logs or screenshots (optional)

No response

Checks

  • [x] I searched for existing issues and didn't find a duplicate.
Original by Rex
Show

Running devenv shell in Ubuntu server displays the error: attribute 'configPath' missing

Summary

I have an Ubuntu server running and I am so close to getting Fluxer working but I am getting this error. ```bash 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

  1. git clone https://github.com/fluxerapp/fluxer.git
  2. cd fluxer/
  3. devenv shell

Environment (optional)

No response

Logs or screenshots (optional)

No response

Checks

  • [x] I searched for existing issues and didn't find a duplicate.