shlink: set shlink version in the files
All checks were successful
Build packages / Build derivations (push) Successful in 3m16s
All checks were successful
Build packages / Build derivations (push) Successful in 3m16s
This commit is contained in:
parent
be63ca798e
commit
f237d37b66
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ php84.buildComposerProject (finalAttrs: {
|
|||
composerLock = ./composer.lock;
|
||||
vendorHash = "sha256-M+3eGiezHsr8H5TyUXhYLsVK316iZzcFVSo9Jwc5W/o=";
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s/%SHLINK_VERSION%/${finalAttrs.version}/g" module/Core/src/Config/Options/AppOptions.php
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/share/php/shlink/bin/cli $out/bin/shlink
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue