Skip to content

fails to initialize project on nixos #10725

Open
hasura/ddn-cli-nix
#5
@Briaoeuidhtns

Description

@Briaoeuidhtns

Component

c/v3-cli

What is the current behaviour?

When running init via the ddn flake it exits with an error:

$ nix run github:hasura/ddn-cli-nix -- supergraph init test
4:50PM ERR failed to get compatibility config date: exit status 127

The folder, if it didn't exist, and any files, are not created.

What is the expected behaviour?

Command should run successfully and init a new project

How to reproduce the issue?

  1. Run nix run github:hasura/ddn-cli-nix -- supergraph init test on nixos (I'm on 25.05pre775060.5e5402ecbcb2 (Warbler))

Please provide any traces or logs that could help here.

Running with debug logging, env vars omitted

4:49PM DBG global config directory is not pre-set, defaulting
4:49PM DBG global config directory set as '/home/brian/.ddn'
4:49PM DBG global config file set as '/home/brian/.ddn/config.yaml'
4:49PM DBG global config file exists, verifying contents
4:49PM DBG global config is not pre-set, reading from current env
4:49PM DBG global config: uuid: 30504a66-5c7e-4727-97c0-9867a9b17419
4:49PM DBG global config: enableTelemetry: true
4:49PM DBG global config: showUpdateNotification: true
4:49PM DBG global config: cliEnvironment: default
4:49PM DBG execution id: bf65e3ac-0d79-415f-b7f6-9baf500ea601
4:49PM DBG Executing the command Command="/run/current-system/sw/bin/bash -c ddn-iteration764108854 compatibility-config-date"

Any possible solutions/workarounds you're aware of?

no

Metadata

Metadata

Assignees

Labels

k/v3-bugBug affecting Hasura v3 (DDN)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions