summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2021-08-01 22:43:34 +0200
committerGitHub <noreply@github.com>2021-08-01 22:43:34 +0200
commit151c2f5a20c8d03a168242af18225f46786ef7c1 (patch)
tree8bcc658f98f072aa2827bfe7487ab17a4acf4cf4
parent4fad3a2b69572163473b86f8cbb276cd7fce4157 (diff)
parentecae25c3ef137d972e909eb0e85960d90481789e (diff)
downloadnixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.tar
nixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.tar.gz
nixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.tar.bz2
nixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.tar.lz
nixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.tar.xz
nixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.tar.zst
nixpkgs-151c2f5a20c8d03a168242af18225f46786ef7c1.zip
Merge pull request #131814 from blaggacao/fix-nix-daemon-registry-type-unspecified-error
nixos/nix-daemon: fix registry flake type
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 133e96da0ec..70b27b7d3d0 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -458,7 +458,7 @@ in
                 description = "The flake reference to which <option>from></option> is to be rewritten.";
               };
               flake = mkOption {
-                type = types.unspecified;
+                type = types.nullOr types.attrs;
                 default = null;
                 example = literalExample "nixpkgs";
                 description = ''