Skip to content

Commit

Permalink
fix: update build process for teepot package
Browse files Browse the repository at this point in the history
- Fix output format for propagated-user-env-packages.
- Remove empty bin directory after binaries are moved.
  • Loading branch information
haraldh committed Dec 20, 2024
1 parent f818ac6 commit b066cdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/teepot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
'';
}
)
Expand Down

0 comments on commit b066cdd

Please sign in to comment.