devenv: bug: v1.4.1 has weird `devenv:enterShell failed with error: No such file or directory (os error 2)` error

Describe the bug

I have changed to use /latest in the devenv input:

    # The devenv module to create good development shells.
    devenv = {
      url = "github:cachix/devenv/latest";
      inputs.nixpkgs.follows = "nixpkgs";
    };

In my flake.nix, which updated to v1.4.1:I suddenly have this strange issue:

nix develop --no-pure-eval --accept-flake-config "/persist/repos/repository-template/./tools/nix#default" --command zsh
warning: Git tree '/persist/repos/repository-template' is dirty
Running tasks     devenv:enterShell
Failed            devenv:enterShell 0ms
1 Failed                            371.87µs

--- devenv:enterShell failed with error: No such file or directory (os error 2)
--- devenv:enterShell stdout:
--- devenv:enterShell stderr:
---

To reproduce See the MWE here:

Version

v1.4.1 (/latest) in flake.nix with bug.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

I’m going to close for now.