changed binary name
This commit is contained in:
parent
7b4a7c6f6d
commit
115aa579ba
@ -21,14 +21,6 @@
|
||||
default = pkgs.${system}.poetry2nix.mkPoetryApplication {projectDir = self;};
|
||||
});
|
||||
|
||||
# `nix run`
|
||||
apps = forAllSystems (system: {
|
||||
default = {
|
||||
program = "${self.packages.${system}.default}/bin/dyn_gandi";
|
||||
type = "app";
|
||||
};
|
||||
});
|
||||
|
||||
# `nix develop`
|
||||
devShells = forAllSystems (system: {
|
||||
default = pkgs.${system}.mkShellNoCC {
|
||||
|
@ -46,7 +46,7 @@ in {
|
||||
|
||||
systemd.services.dyn-gandi = mkIf (cfg.timer
|
||||
!= null) {
|
||||
script = "${package}/bin/dyn_gandi --config ${configFile}";
|
||||
script = "${package}/bin/dyn-gandi --config ${configFile}";
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
|
@ -4,14 +4,14 @@ version = "0.1.0"
|
||||
description = "A DNS updater"
|
||||
authors = ["Kristian Krsnik <git@krsnik.at>"]
|
||||
readme = "README.md"
|
||||
packages = [{include = "dyn_gandi"}]
|
||||
packages = [{ include = "dyn_gandi" }]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
requests = "2.29.0"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
dyn_gandi = "dyn_gandi.main:main"
|
||||
dyn-gandi = "dyn_gandi.main:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
|
Loading…
Reference in New Issue
Block a user