Skip to content

Commit

Permalink
Add a couple useful commented sections
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Oct 23, 2024
1 parent b9fc6fb commit 7d76190
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions nix/convert-type.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
;

Expand Down

0 comments on commit 7d76190

Please sign in to comment.