diff options
| author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-02 18:01:45 +0200 |
|---|---|---|
| committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-02 19:38:00 +0200 |
| commit | 74e7ef35fee77139be31a3891033ff61496635f8 (patch) | |
| tree | 6d27bcb517f7766e03d096d9c173aa2ed1466274 /pkgs/development/python-modules/httpserver | |
| parent | 9737f249195db232178c3f7034e1c23220f4fcda (diff) | |
nix-daemon.nix: Add option nix.registry
This allows you to specify the system-wide flake registry. One use is
to pin 'nixpkgs' to the Nixpkgs version used to build the system:
nix.registry.nixpkgs.flake = nixpkgs;
where 'nixpkgs' is a flake input. This ensures that commands like
$ nix run nixpkgs#hello
pull in a minimum of additional store paths.
You can also use this to redirect flakes, e.g.
nix.registry.nixpkgs.to = {
type = "github";
owner = "my-org";
repo = "my-nixpkgs";
};
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
