Loading...
Loading...
Maintains development environment instructions in the project README.md using nixomatic. When the user asks to build, compile, test, lint, format, type-check, run, or set up a project, or when a command fails because a tool or runtime is not installed, analyze project files to determine required packages and use nix develop with a nixomatic.com URL. Ensure the README.md documents how to reproduce the environment with both nix develop and docker run nixos/nix.
npx skill4agent add curriedsoftware/nixomatic-skill nixomaticflake.nixhttps://nixomatic.com/?p=nodejs,python3nix developnixwhich nixnixdockerwhich docker## Development Environmentnixomatic.comflake.nixflake.nixnix develop --command -- <cmd>package.jsonnodejsCargo.tomlrustc,cargogo.modgorequirements.txtsetup.pypyproject.tomlpython3Gemfilerubybuild.gradlebuild.gradle.ktspom.xmljdkmix.exselixir*.sln*.csproj*.fsprojdotnet-sdkcomposer.jsonphpPackage.swiftswiftdune-project*.opamocamlstack.yaml*.cabalghc,cabal-installpubspec.yamldartzig.zonbuild.zigzigMakefilegnumakeCMakeLists.txtcmakemeson.buildmesonJustfilejustTaskfile.ymlgo-taskRakefileruby.eslintrc*eslint.config.*Dockerfiledocker.terraform*terraformserverless.ymlnodejsMakefileprotocprotobuf| Project file / indicator | Nix packages |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
https://nixomatic.com/?p=pkg1,pkg2,pkg3phttps://nixomatic.com/?p=nodejs,gnumake@versionhttps://nixomatic.com/?p=nodejs@20.11.1,python3:revisionhttps://nixomatic.com/?p=python3:3b93cf5nix \
--extra-experimental-features 'nix-command flakes' \
develop 'https://nixomatic.com/?p=<packages>' \
--accept-flake-config \
--command -- <cmd>nix \
--extra-experimental-features 'nix-command flakes' \
develop 'https://nixomatic.com/?p=<packages>' \
--accept-flake-configdocker run -v nix-store:/nix -v "$(pwd):/workspace" -w /workspace --rm nixos/nix nix \
--extra-experimental-features 'nix-command flakes' \
develop 'https://nixomatic.com/?p=<packages>' \
--accept-flake-config \
--command -- <cmd>docker run -v nix-store:/nix -v "$(pwd):/workspace" -w /workspace --rm -it nixos/nix nix \
--extra-experimental-features 'nix-command flakes' \
develop 'https://nixomatic.com/?p=<packages>' \
--accept-flake-config-v "$(pwd):/workspace" -w /workspaceflake.nixflake.nixnix develop --command -- <cmd>## Development Environmentnixomatic.com/?p=https://nixomatic.com/?p=pkg1,pkg2,...nixdockercommand not found: cmake## Development Environment## Development Environmentnixomatic.com<packages>## Development Environment
This project uses [nixomatic](https://nixomatic.com) for reproducible development environments.
### Using Nix
```bash
nix \
--extra-experimental-features 'nix-command flakes' \
develop 'https://nixomatic.com/?p=<packages>' \
--accept-flake-config
```
### Using Docker
```bash
docker run -v nix-store:/nix -v "$(pwd):/workspace" -w /workspace --rm -it nixos/nix nix \
--extra-experimental-features 'nix-command flakes' \
develop 'https://nixomatic.com/?p=<packages>' \
--accept-flake-config
```| Error | Cause | Fix |
|---|---|---|
| Package missing from URL | Add the package to the |
| Network issue or invalid URL | Check internet connectivity and verify the URL is well-formed |
| Unknown package name | Verify the package name exists in nixpkgs (search at https://search.nixos.org/packages) |
| Docker not installed | Fall back to Nix, or ask user to install Docker |
| Nix not installed | Fall back to Docker, or ask user to install Nix |
| Old Nix without flakes flag | The |
| Permission denied on Docker socket | User not in docker group | Suggest |