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