clan-cli: unbreak build
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
{ lib
|
{ python3
|
||||||
, python3
|
|
||||||
, ruff
|
, ruff
|
||||||
, runCommand
|
, runCommand
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
@@ -37,10 +36,10 @@ let
|
|||||||
# - vendor the jsonschema nix lib (copy instead of symlink).
|
# - vendor the jsonschema nix lib (copy instead of symlink).
|
||||||
# - lib.cleanSource prevents unnecessary rebuilds when `self` changes.
|
# - lib.cleanSource prevents unnecessary rebuilds when `self` changes.
|
||||||
source = runCommand "clan-cli-source" { } ''
|
source = runCommand "clan-cli-source" { } ''
|
||||||
cp -r ${lib.cleanSource ./.} $out
|
cp -r ${./.} $out
|
||||||
chmod -R +w $out
|
chmod -R +w $out
|
||||||
rm $out/clan_cli/config/jsonschema
|
rm $out/clan_cli/config/jsonschema
|
||||||
cp -r ${lib.cleanSource (self + /lib/jsonschema)} $out/clan_cli/config/jsonschema
|
cp -r ${self + /lib/jsonschema} $out/clan_cli/config/jsonschema
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
python3.pkgs.buildPythonPackage {
|
python3.pkgs.buildPythonPackage {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ description = "cLAN CLI tool"
|
|||||||
dynamic = [ "version" ]
|
dynamic = [ "version" ]
|
||||||
scripts = { clan = "clan_cli:main" }
|
scripts = { clan = "clan_cli:main" }
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages]
|
||||||
where = []
|
find = {}
|
||||||
|
|
||||||
[tool.setuptools.package-data]
|
[tool.setuptools.package-data]
|
||||||
clan_cli = ["config/jsonschema/*"]
|
clan_cli = ["config/jsonschema/*"]
|
||||||
|
|||||||
Reference in New Issue
Block a user