mirror of
https://github.com/matter-labs/teepot.git
synced 2025-07-21 15:13:56 +02:00
fix: update build process for teepot package
- Fix output format for propagated-user-env-packages. - Remove empty bin directory after binaries are moved.
This commit is contained in:
parent
f818ac61c2
commit
b066cdd15a
1 changed files with 2 additions and 1 deletions
|
@ -35,10 +35,11 @@
|
|||
for i in $outputs; do
|
||||
[[ $i == "out" ]] && continue
|
||||
mkdir -p "''${!i}/bin"
|
||||
echo "''${!i}" >> $out/nix-support/propagated-user-env-packages
|
||||
echo -n "''${!i} " >> $out/nix-support/propagated-user-env-packages
|
||||
binname=''${i//_/-}
|
||||
mv "$out/bin/$binname" "''${!i}/bin/"
|
||||
done
|
||||
rmdir "$out/bin"
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue