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:
-
Before flake.nix: https://gist.github.com/gabyx/eccf4f46ff9e83450c1c48aa4747a1b8#file-flake-nix-before
-
Before flake.lock: https://gist.github.com/gabyx/eccf4f46ff9e83450c1c48aa4747a1b8#file-flake-lock-before
-
Bug flake.nix: https://gist.github.com/gabyx/eccf4f46ff9e83450c1c48aa4747a1b8#file-flake-nix-bug
-
Bug flake.lock: https://gist.github.com/gabyx/eccf4f46ff9e83450c1c48aa4747a1b8#file-flake-lock-bug
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)
I’m going to close for now.