Skip to content

Commit

Permalink
refactor(darwin): use the package provided by nix-darwin for darwin-r…
Browse files Browse the repository at this point in the history
…ebuild
  • Loading branch information
midchildan committed Dec 1, 2023
1 parent 5aea875 commit b0449b9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 44 deletions.
2 changes: 1 addition & 1 deletion nix/apps/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ in
os.program = "${self'.packages.nixos-rebuild}/bin/nixos-rebuild";

} // lib.optionalAttrs pkgs.stdenv.isDarwin {
os.program = "${self'.packages.nix-darwin}/bin/darwin-rebuild";
os.program = "${inputs'.darwin.packages.default}/bin/darwin-rebuild";
};
};
}
5 changes: 0 additions & 5 deletions nix/packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation;
};

nix-darwin = pkgs.callPackage ./nix-darwin.nix {
inherit nix;
inherit (inputs) darwin;
};

} // pkgs.callPackages ./skk-jisyo.nix { };
};
}
38 changes: 0 additions & 38 deletions nix/packages/nix-darwin.nix

This file was deleted.

0 comments on commit b0449b9

Please sign in to comment.