Commit graph

16 commits

Author SHA1 Message Date
Naïm Favier
9160044f5f
treewide/makeWrapper: replace --run cd with --chdir
Lay the groundwork for switching to binary wrappers by reducing uses
of `--run` (which is not supported by `makeBinaryWrapper`).
2022-03-19 09:46:31 +01:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Felix Buehler
fb7be3d998 sauerbraten: add desktop-icon 2021-11-22 18:09:31 +01:00
Matthieu Coudron
e0b13fe95b sauerbraten: set mainProgram to sauerbraten_client
so that nix run nixpkgs#sauerbraten starts the game
2021-06-13 00:49:02 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Georg Haas
aaf9cf6e43
sauerbraten: 2020-12-04 -> 2020-12-27
Bumped version because 2020-12-04 is not available on mirrors.
Tested server and client on NixOS x86_64 with sway/wayland.
Played some rounds with old and new maps on public servers.
2021-01-09 17:05:00 +01:00
ajs124
497afae7e8
sauerbraten: 5492 -> 2020-12-04
http://www.sauerworld.org/new-sauerbraten-2020-edition-released/
2020-12-08 04:51:19 +01:00
Herwig Hochleitner
f3366d27f5 sauerbraten: 5000 -> 5492
fixes https://github.com/NixOS/nixpkgs/issues/45088
cc @raskin
2019-10-12 14:57:28 +02:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Robert Helgesson
a04916cdc4 sauerbraten: use stdenv
This replaces use of builderDefsPackage (#4210).
2015-12-29 20:31:01 +01:00
Michael Raskin
18023bc0e8 Update Sauerbraten to a fresh revision 5000. Apparently fixes the build. Probably fixes #995. 2014-06-14 11:50:08 +04:00
Eelco Dolstra
c88055e1a2 Set meta.hydraPlatforms instead of meta.platforms for some packages 2013-11-05 00:06:10 +01:00
Evgeny Egorochkin
dc70f31484 sauerbraten: SVN repository has moved 2013-10-21 21:30:14 +03:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Michael Raskin
88d5eeda98 Adding sauerbraten
svn path=/nixpkgs/trunk/; revision=25278
2010-12-26 13:14:15 +00:00