-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Installer doesn't update nixpkgs flake input correctly #204292
Copy link
Copy link
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: flakesThe experimental Nix featureThe experimental Nix feature6.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 NixOS6.topic: user experienceNixOS / Nixpkgs end user experienceNixOS / Nixpkgs end user experience
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: flakesThe experimental Nix featureThe experimental Nix feature6.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 NixOS6.topic: user experienceNixOS / Nixpkgs end user experienceNixOS / Nixpkgs end user experience
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
Weird input resolution behavior that's uncharacteristic for a distro that emphasizes being reproducible and boring.
Steps To Reproduce
Steps to reproduce the behavior:
nix flake initin/etc/nixosnixosConfigurations."nixos" = nixpkgs.lib.nixosSystem { modules = [ ./configuration.nix ]; }nixos-rebuild switchnix flake lock --update-input nixpkgsto update the graphics driverExpected behavior
At (6), do not upgrade to nixos-unstable.
At (9), do not downgrade to the installer nixpkgs
Suggested solution
Remove the flake registry from NixOS to solve (9)
Remove the flake registry from Nix, so that the user must specify the channel, solving (6) and (9).
Screenshots
Additional context
Notify maintainers
Metadata
NixOS 22.11 minimal ISO
Nix 2.11.0
Nix 2.11.1