summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-10-01 12:49:28 +0200
committerGitHub <noreply@github.com>2022-10-01 12:49:28 +0200
commita68239097eef1051efd400fbb2b0bc12f2ba0387 (patch)
treef34c4a52d4ebbef0757f0b187d78b73dea25d90f /nixos
parentda61aacdaea247d6a109a3ad7aa9a09a467ce8d9 (diff)
parentc40da01e17c96a769be6c0ed037f6e3eae9edea8 (diff)
downloadnixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.tar
nixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.tar.gz
nixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.tar.bz2
nixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.tar.lz
nixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.tar.xz
nixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.tar.zst
nixpkgs-a68239097eef1051efd400fbb2b0bc12f2ba0387.zip
Merge pull request #189113 from MatthewCroughan/mc/pin-installer-registry
pin nixpkgs registry to pkgs.path via nix.settings.registry
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/installer/cd-dvd/channel.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/channel.nix b/nixos/modules/installer/cd-dvd/channel.nix
index 2f91cd39881..2a0feaeb284 100644
--- a/nixos/modules/installer/cd-dvd/channel.nix
+++ b/nixos/modules/installer/cd-dvd/channel.nix
@@ -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