Unverified Commit a6823909 authored by Christian Kögler's avatar Christian Kögler Committed by GitHub
Browse files

Merge pull request #189113 from MatthewCroughan/mc/pin-installer-registry

pin nixpkgs registry to pkgs.path via nix.settings.registry
parents da61aacd c40da01e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ let
in

{
  nix.registry.nixpkgs.flake.outPath = builtins.path { name = "source"; path = pkgs.path; };
  # Provide the NixOS/Nixpkgs sources in /etc/nixos.  This is required
  # for nixos-install.
  boot.postBootCommands = mkAfter