nixos-rebuild-ng: fix linter failures

This commit is contained in:
Thiago Kenji Okada
2024-12-07 11:38:03 +00:00
parent 1fe9bfe982
commit 556a52ac27
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ python3Packages.buildPythonApplication rec {
--subst-var-by withShellFiles ${lib.boolToString withShellFiles}
substituteInPlace pyproject.toml \
--subst-var-by executable ${executable}
--replace-fail nixos-rebuild ${executable}
'';
postInstall = lib.optionalString withShellFiles ''
@@ -3,11 +3,11 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "nixos-rebuild-ng"
name = "nixos-rebuild"
version = "0.0.0"
[project.scripts]
@executable@ = "nixos_rebuild:main"
nixos-rebuild = "nixos_rebuild:main"
[tool.setuptools.package-data]
nixos_rebuild = ["*.template.nix"]