Skip to content

nix-shell doesn't pass --option arguments correctly #181

Closed

Description

@shlevy
$ nix-shell -A build.x86_64-linux release.nix --option binary-caches "http://cache.nixos.org http://hydra.nixos.org"
error: getting status of `/home/shlevy/src/nix/http:/hydra.nixos.org': No such file or directory
/run/current-system/sw/bin/nix-shell: failed to build all dependencies

It works if I put in backslashes before the spaces though.

Activity

  1. added a commit that references this issue on Jan 1, 2024
  2. added a commit that references this issue on Jul 11, 2024
    b2944d9
  3. added a commit that references this issue on Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions