Skip to content

Commit

Permalink
Rename package to moebot due to conflicting package name in nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Feb 10, 2024
1 parent 11021a9 commit d32ca38
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
version = builtins.substring 0 8 self.lastModifiedDate or "dirty";
in
{
packages.moe = pkgs.callPackage ./nix/package.nix { inherit version; };
defaultPackage = self.packages.${system}.moe;
packages.moebot = pkgs.callPackage ./nix/package.nix { inherit version; };
defaultPackage = self.packages.${system}.moebot;
}
) // {
nixosModule = import ./nix/module.nix;
Expand Down
2 changes: 1 addition & 1 deletion nix/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ in
enable = mkEnableOption "Enable the moe service";
package = mkOption {
type = package;
default = pkgs.moe;
default = pkgs.moebot;
};
group = mkOption {
type = str;
Expand Down
2 changes: 1 addition & 1 deletion nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# $ pkgs/tools/moebot/update.sh
# copy pkgs/tools/moebot/deps.nix to this directory
buildDotnetModule {
pname = "moe";
pname = "moebot";
inherit version;

src = ../.;
Expand Down

0 comments on commit d32ca38

Please sign in to comment.