mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
stellarium: wrap binary using wrapQtProgram
Fixes #13582 where Stellarium segfaults when starting.
This commit is contained in:
parent
e4b7b7b028
commit
1bedecb4f9
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, perl, libiconv
|
||||
, qtscript, qtserialport, qttools
|
||||
, qtscript, qtserialport, qttools, makeQtWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1xxil0rv61zc08znfv83cpsc47y1gjl2f3njhz0pn5zd8jpaa15a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeQtWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
cmake freetype libpng mesa gettext openssl perl libiconv qtscript
|
||||
qtserialport qttools
|
||||
|
@ -17,6 +19,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
wrapQtProgram "$out/bin/stellarium"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Free open-source planetarium";
|
||||
homepage = "http://stellarium.org/";
|
||||
|
|
Loading…
Reference in a new issue