Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 0b124c1. We should really stop adding things that are not packages to all-packages.nix. For example, having nixos-rebuild.nix in all-packages.nix causes 'nix-env -qa' to evaluate a NixOS configuration, which obviously is not good for performance. (We should probably also remove the 'nixos' attribute from all-packages.nix, but at least that's a function so nix-env will ignore it.)
- Loading branch information
f1c978a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we refactor nixos-rebuild and others to make it a package? Call it something like nixos-utils. I think there is a strong desire to make these available in some way to non-NixOS users. Even commands like nixos-option can be useful when you're not on NixOS.