-
Notifications
You must be signed in to change notification settings - Fork 334
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
Processes are failing to start in flake based config #1153
Comments
I reverted to devenv version |
Regular flakeI can successfully run Flake-partsWe need to remove this line from the template: |
The socket isssue is macos-specific. Our runtime dir is: |
I believe what's happening is that devenv never creates the Before The reason this doesn't happen on NixOS is because |
@domenkozar, see #1153 (comment). There's 2 ways to fix this:
Alternatively, maybe we can create the runtime dir in a script passed to |
Describe the bug
Running
devenv up
innix develop --impure
shell fails in flake config based on default flake template:When I use
flake-parts
flake template it fails in a different way. I get the same error when I rundevenv up
on fresh template or if I add some process (processes.run.exec="hello"
) indevenv.shells.default
:To reproduce
For default flake template:
mkdir devenvsh-test && cd $_
nix flake init --template github:cachix/devenv
nix develop --impure
devenv up
FTL start UDS http server on /tmp/nix-shell.kxqGNh/devenv-76311b3/pc.sock failed error="listen unix /tmp/nix-shell.kxqGNh/devenv-76311b3/pc.sock: bind: no such file or directory"
errorOr for
flake-parts
template:mkdir devenvsh-test && cd $_
nix flake init --template github:cachix/devenv#flake-parts
nix develop --impure
devenv up
error: attribute 'config' missing
error.Version
The text was updated successfully, but these errors were encountered: