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";
|
||||||
|
@ -11,7 +11,7 @@ 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