diff --git a/flake.nix b/flake.nix index 3d78e9a..9769c61 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,15 @@ # For nix repl debugging # inherit codedown; + # For testing out the nixpkgs overlay + # environmentUsingNixpkgsOverlay = (import nixpkgs { + # inherit system; + # overlays = [(pkgsStable.callPackage ./nix/nixpkgs-overlay.nix {})]; + # }).makeEnvironment { + # su.enable = true; + # # su.outputs = ["out" "baz"]; + # }; + searcher = codedown.searcher pkgsStable; # Tests use flake to do packageSearch builds diff --git a/nix/convert-type.nix b/nix/convert-type.nix index e977db0..fcfc503 100644 --- a/nix/convert-type.nix +++ b/nix/convert-type.nix @@ -28,6 +28,9 @@ let (path: value: convertType target value.type) (lib.removeAttrs (type.getSubOptions {}) ["_module"]); } + # else if (type.name == "unknown") then { + # type = "unknown"; + # } else builtins.throw "Can't convert type for '${target}': ${toString type.name}" ;