Skip to content

unable to download 'https://api.github.com/repos/chadac/nix-ws/commits/HEAD': HTTP error 409 #1

@sylvorg

Description

@sylvorg

Hello!

I'm getting the following error after following the installation instruction in the README and running ns init --name test in an empty directory:

[ERROR] cli error:
 stderr: error:
       … while fetching the input 'github:chadac/nix-ws'

       error: unable to download 'https://api.github.com/repos/chadac/nix-ws/commits/HEAD': HTTP error 409

       response body:

       {
         "message": "Git Repository is empty.",
         "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit"
       }

 stdout:

I'm also using the following command for nix-shell, just in case, which works, but running ns init --name test also errors out there as well:

nix-shell -E 'with builtins.getFlake "https://github.com/chadac/nixspace/archive/main.tar.gz"; with (import /etc/nixos).pkgs.currentSystem
; mkShell { buildInputs = [ packages.${builtins.currentSystem}.nixspace ]; }'

Thank you kindly for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions