mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 14:41:24 +01:00
Reduce closure size by removing private lib from out dir
This commit is contained in:
parent
2b79807fce
commit
7ad53e8859
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ buildDunePackage {
|
||||||
substituteInPlace direnvrc --replace-fail "@flake_env@" "$out/bin/flake_env"
|
substituteInPlace direnvrc --replace-fail "@flake_env@" "$out/bin/flake_env"
|
||||||
'';
|
'';
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
rm -r $out/lib
|
||||||
${bintools}/bin/strip --strip-unneeded $out/bin/flake_env
|
${bintools}/bin/strip --strip-unneeded $out/bin/flake_env
|
||||||
${upx}/bin/upx $out/bin/flake_env
|
${upx}/bin/upx $out/bin/flake_env
|
||||||
install -m444 -D direnvrc $out/share/flake_env/direnvrc
|
install -m444 -D direnvrc $out/share/flake_env/direnvrc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue