3
0
Fork 0
forked from mirrors/nixpkgs

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

pin nixpkgs registry to pkgs.path via nix.settings.registry
This commit is contained in:
Christian Kögler 2022-10-01 12:49:28 +02:00 committed by GitHub
commit a68239097e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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