-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Initializing the template with the one-line command from the README for a hypothetical workspace repo named pnt-mono
Lines 25 to 40 in 660ec17
nix --accept-flake-config run github:juspay/omnix -- init github:sciexp/python-nix-template -o pnt-mono --non-interactive --params '{ | |
"package-name-kebab-case": "pnt-mono", | |
"package-name-snake-case": "pnt_mono", | |
"monorepo-package": true, | |
"git-org": "pnt-mono", | |
"author": "Pnt Mono", | |
"author-email": "[email protected]", | |
"vscode": true, | |
"github-ci": true, | |
"nix-template": false | |
}' && \ | |
cd pnt-mono && \ | |
git init && \ | |
git commit --allow-empty -m "initial commit (empty)" && \ | |
git add . && \ | |
nix develop --accept-flake-config -c pytest |
implicitly assumes the user has already created a cachix cache with the name of the repo.
This doesn't cause a problem initializing the template, but it produces an error during template initialization that could be confusing
warning: unable to download 'https://pnt-mono.cachix.org/nix-cache-info': HTTP error 401
response body:
Binary cache pnt-mono doesn't exist or you're not authorized to access. Please check the name for typos and/or provide an auth token. Contact support on https://cachix.org if you're stuck!
and would continue to appear in the CI logs unless the user updated the template or created the cache.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working