You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The installation instructions on the documentation completed without error
Current Behavior
When running the following command on a clean NixOS 22.11 install:
$ nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
--run "nix flake init -t github:divnix/digga"
error: getting status of '/nix/store/hh5r5spax8d8d0fbn8hvhixy4w8j8027-source/devShell.nix': No such file or directory
Steps to Reproduce
Following documentation
Your Environment
nix run nixpkgs#nix-info -- -m; nix flake metadata
system: "x86_64-linux"
host os: Linux 5.15.86, NixOS, 22.11 (Raccoon), 22.11.1574.6a3f9996408
We should probably have tests for the compat files. For now, nix --experimental-features 'nix-command flakes' flake init -t github:divnix/digga should have the intended effect. In fact, this command should probably be what is recommended in the docs anyway since it is easier to remember and type, more obvious in its effect, and teaches a little about how to use nix-command. If we take that approach, I think the compat files would be unnecessary which saves us on complexity and testing.
Expected Behavior
The installation instructions on the documentation completed without error
Current Behavior
When running the following command on a clean NixOS 22.11 install:
Steps to Reproduce
Following documentation
Your Environment
nix run nixpkgs#nix-info -- -m; nix flake metadata
"x86_64-linux"
Linux 5.15.86, NixOS, 22.11 (Raccoon), 22.11.1574.6a3f9996408
yes
yes
nix-env (Nix) 2.11.1
/nix/var/nix/profiles/per-user/root/channels/nixos
path '/tmp' does not contain a 'flake.nix', searching up
error: could not find a flake.nix file
The text was updated successfully, but these errors were encountered: