Throw things at the wall, sticking optional
This commit is contained in:
parent
dd9e38752b
commit
c4e4d964d3
15
flake.nix
15
flake.nix
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue