Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Document suitable onCreateCommand for nix.flake on README #23

@vorburger

Description

@vorburger

https://github.com/xtruder/nix-devcontainer#devcontainer-integration currently documents:

 // build development environment on creation, make sure you already have shell.nix
  "onCreateCommand": "nix-shell --command 'echo done building nix dev environment'",

For repos which instead of a shell.nix contain a flake.nix (e.g. like this one; for [my] enola-dev/enola#1921), this probably needs to be another command?

It would be awesome if the README documented that.

I'll see if I can figure it out, and contrib a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions