mirror of
https://github.com/icewind1991/cynthion-flake.git
synced 2026-06-03 14:24:07 +02:00
set cynthion version
This commit is contained in:
parent
d4511262ad
commit
71f719ae7b
2 changed files with 4 additions and 2 deletions
|
|
@ -27,7 +27,7 @@
|
|||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "cynthion-unwrapped";
|
||||
version = "0.1.2";
|
||||
version = src.rev;
|
||||
|
||||
outputs = ["out" "udev"];
|
||||
pyproject = true;
|
||||
|
|
@ -60,6 +60,8 @@ in
|
|||
postPatch = ''
|
||||
substituteInPlace cynthion/python/src/commands/util.py \
|
||||
--replace-fail 'os.path.join(package_path, "assets")' "\"$out/share/assets\""
|
||||
substituteInPlace cynthion/python/pyproject.toml \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue