Throw things at the wall, sticking optional

This commit is contained in:
Lauren Lagarde 2024-04-02 00:38:39 +00:00
parent dd9e38752b
commit c4e4d964d3
1 changed files with 5 additions and 10 deletions

View File

@ -30,22 +30,17 @@
sourceRoot = ".";
#preFixup = let libPath = lib.makeLibraryPath [
# cairo
# libgcc
#]; in ''
# patchelf \
# --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
# --set-rpath "${libPath}" \
# $out/bin/CoolTerm
#'';
installPhase = ''
runHook preInstall
mkdir -p $out/opt/
cp -r ./source/* $out/opt/
for i in `ls -1 "./source/CoolTerm Libs/"`; do
install -m755 -D "./source/CoolTerm Libs/$i" $out/lib/$i
done
install -m755 -D "./source/CoolTerm" $out/bin/CoolTerm
runHook postInstall
'';