Shorten nix install
This commit is contained in:
parent
f9927d1eb3
commit
01772b567a
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ flutter.buildFlutterApplication {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D assets/icon.svg $out/share/icons/hicolor/scalable/apps/nexus.svg
|
install -D assets/icon.svg $out/share/icons/hicolor/scalable/apps/nexus.svg
|
||||||
install -D linux/nexus.desktop --target-directory $out/share/applications
|
install -Dm755 linux/nexus.desktop -t $out/share/applications
|
||||||
wrapProgram $out/bin/nexus \
|
wrapProgram $out/bin/nexus \
|
||||||
--suffix LD_LIBRARY_PATH : $out/app/nexus/lib
|
--suffix LD_LIBRARY_PATH : $out/app/nexus/lib
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ buildGoModule (finalAttrs: {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -D --mode=0644 libgomuks.so --target-directory $out/lib
|
install -Dm0644 libgomuks.so -t $out/lib
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue