mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
torcs: add desktop item
This commit is contained in:
parent
237e77803e
commit
77277dd000
|
@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -D -m644 Ticon.png $out/share/pixmaps/torcs.png
|
||||||
|
install -D -m644 torcs.desktop $out/share/applications/torcs.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e s,/bin/bash,`type -P bash`, src/linux/torcs.in
|
sed -i -e s,/bin/bash,`type -P bash`, src/linux/torcs.in
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue