-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
nixos-option does not support flakes #97855
Copy link
Copy link
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
Running
nixos-option nix.nixPathfails because I don't have anixpkgsentry in my NIX_PATH. This requires me to use my compatibility wrapper (https://github.com/cole-h/nixos-config/tree/c02cdf4702db3e383073426396dea31c40ae6e71/compat) with-I nixpkgs=compat; otherwise, the program aborts.To Reproduce
Steps to reproduce the behavior:
nixos-option nix.nixPathwithoutnixpkgsin NIX_PATH<nixpkgs/nixos>Expected behavior
I would expect a
--flakeflag, just likenixos-rebuildhas, to be able to e.g.nixos-option nix.nixPath --flake .#hostname.Notify maintainers
cc @Ma27 @chkno
Metadata
"x86_64-linux"Linux 5.8.7-zen1, NixOS, 20.09.20200912.ac8a276-cosmere (Nightingale)yesyesnix-env (Nix) 3.0pre20200903_8a945d6""""/home/vin/.config/nixpkgs/compatMaintainer information: