Skip to content

Commit

Permalink
Lie to nix about the nix package being a derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Jan 7, 2025
1 parent c29daec commit 0108a64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/nix-darwin-unmanaged.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
# Necessary for darwin-rebuild, etc. tools.
# https://github.com/LnL7/nix-darwin/blob/55d07816a0944f06a9df5ef174999a72fa4060c7/pkgs/nix-tools/default.nix#L8
options.nix.package = lib.mkOption {
default = "/nix/var/nix/profiles/default";
type = lib.types.package;
default = {
type = "derivation";
outPath = "/nix/var/nix/profiles/default";
};
internal = true;
};

Expand Down

0 comments on commit 0108a64

Please sign in to comment.