Skip to content

Private source-repository-packages over ssh do not work ("error: cannot run ssh: No such file or directory") #1996

Open
@ramirez7

Description

@ramirez7

This template is a guide only, feel free add or omit sections as appropriate.

Describe the bug

A clear and concise description of what the bug is, including:

  • Build system (eg. x86_64-linux or aarch64-darwin).
    • x86_64-linux (NixOS)
  • GHC version
    • 9.2.8
  • Haskell.nix version (or commit) used.
    • b81e82b87d57c1a49c14b0bc7df9e3c4719214c7
source-repository-package
    type: git
    location: ssh://gitlab.com/macaroni.dev/mayhem-engine.git
    tag: d5b6f455b83f8fe5891f2b49046e45ee6869600e
    --sha256: sha256-2UbpA9U/RtSOX1WKMKrmPHyB6sIiGqhwoPTX1TC0O99=
exporting ssh://gitlab.com/macaroni.dev/mayhem-engine.git (rev d5b6f455b83f8fe5891f2b49046e45ee6869600e) into /nix/store/m4hly5b1k8fgb3k1hmiyavqlcv4p48dj-mayhem-engine-d5b6f45
Initialized empty Git repository in /nix/store/m4hly5b1k8fgb3k1hmiyavqlcv4p48dj-mayhem-engine-d5b6f45/.git/
error: cannot run ssh: No such file or directory
fatal: unable to fork
error: cannot run ssh: No such file or directory
fatal: unable to fork
error: cannot run ssh: No such file or directory
fatal: unable to fork
Unable to checkout d5b6f455b83f8fe5891f2b49046e45ee6869600e from ssh://gitlab.com/macaroni.dev/mayhem-engine.git.

Steps To Reproduce

Add a private repository with an ssh:// url

Expected behavior

For private repositories to be accessible via ssh

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpreservedKeep stale bot away

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions