about summary refs log tree commit diff
path: root/pkgs
Commit message (Collapse)AuthorAgeFilesLines
* invisigun-heroes: Get nick name from environmentaszlig2020-03-291-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since the player's nick name is retrieved via Steam we don't get any nick name via the DRM-free version. To cope with this, the nick name is now determined by looking at the INVISIGUN_NICKNAME and USER if the former is not defined. If people don't want their local user name to be displayed to others, there is a setting in the options menu to disable this behaviour. The reason why I patched the call to Tools::FilterText (which is used sanitise the nick name) instead of a more specific one is because the more specific one is optimized out in the build: IL_0000: ldarg.0 IL_0001: call string class Tools::'?????????'(valuetype '?????????') IL_0006: call string class Tools::FilterText(string) IL_000b: ret So the only way to patch out the call in IL_0001 would be to use addresses/offsets, which is bound to break in the next upstream version. However, since the output is essentially wrapped in Tools::FilterText, I decided to patch that one instead and we simply throw away the argument. Signed-off-by: aszlig <aszlig@nix.build>
* machines/shiki: add zoomboxedProfpatsch2020-03-261-3/+1
| | | | Filesystem sandbox around zoom-us.
* invisigun-heroes: Update to version 1.8.1aszlig2020-03-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream changes for version 1.8.1: * IRIS: Fixed crash involving dash on Stage 6 * EPI: Fixed cluster shots spawning at real Epi's location when hitting ghost Epi * CONTROLS: Fix loss of subsequent control if pause menu is open when a round ends online Upstream changes for version 1.8.0: * UI: Any player can control or skip instant replays after the first full viewing * UI: Lab hero menu starts with your current hero selected * INPUT: More accurate movement tapping when standing still * UI: Minor localization edits * UI: Pixel alignment visual fix on game mode selector buttons * UI: Fixed player selectors sometimes not showing ability text when you first join in * EPI: Fixed cluster shots hitting ghost Epi instead of real Epi when they occupy the same tile * EPI: Fixed shield showing for one frame on real Epi when toggling off ghost Epi * DJAAN-KHE: Fixed being able to trap players when they are in respawn invincibility time * DJAAN-KHE: Fixed footsteps/surface FX triggering when laying traps * GAME: Fixed sometimes not being able to fire when standing in same position as a dead player * GAME: Fixed edge case that could prevent players from respawning in sudden death situations * GAME: Fixed edge case where security cameras would fail to rotate towards some corners I also changed the screenshot path to use "$XDG_DATA_HOME/Invisigun Reloaded", since this is the new location of the "Reloaded" update which I didn't yet fix. Signed-off-by: aszlig <aszlig@nix.build>
* Mostly implement nice completion for dhallProfpatsch2020-02-249-126/+235
| | | | | A few bugs are still remainaing, but it can recognize when files should be completed for example.
* completion: move to Completion module & factor out typesProfpatsch2020-02-243-23/+22
|
* completion.dhall: add completion options for dhall command lineProfpatsch2020-02-241-0/+134
|
* main: factor out basic fish completion commandsProfpatsch2020-02-244-149/+176
|
* `abc foo --bar` can be completedProfpatsch2020-02-241-2/+23
|
* First working fish subcommand completion.Profpatsch2020-02-243-42/+94
|
* Add dhall-to-shell script (to convert (List (List Text)) to sh)Profpatsch2020-02-241-0/+6
|
* Init: basic command line abstraction for fish’s completeProfpatsch2020-02-2410-0/+172
|
* pkgs/profpatsch: Fix eval error for dhall-flycheckaszlig2020-02-101-1/+1
| | | | | | | | | | | | | | | The haskellPackages attribute is actually part of the package scope inside pkgs.profpatsch and thus the evaluation fails with the following error: attribute 'vuizvui' missing, at .../pkgs/profpatsch/default.nix:176:20 Referencing the attribute directly from within the recursive attribute set fixes the evaluation error and building dhall-flycheck also succeeds. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* pkgs/profpatsch: add dhall-flycheckProfpatsch2020-02-101-0/+8
|
* pkgs/profpatsch: add dhall from easy-dhall-nixProfpatsch2020-02-101-0/+10
| | | | | It’s the easiest way to get recent statically compiled dhall executables.
* taalo-build: Combine ssh and ssh-ng store protocolaszlig2020-02-101-7/+12
| | | | | | | | | | For some reason which I haven't been able to debug yet, the legacy SSH remote store protocol is way faster when it comes to copying files. To cope with this for now, we now use the legacy protocol for copying and the new protocol for the actual remote build. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/psi: Temporarily disable Jingle sessionsaszlig2020-02-102-0/+13
| | | | | | | | | | | | | | | When getting an incoming file transfer, Psi has crashed a while ago and I unfortunately don't remember the exact details. However, since those stanzas are going to be re-delivered every time we start Psi again, I'd like to debug this in an isolated environment rather than being more or less forced to stay unavailable (especially annoying if someone is trying to send a file and then you stay offline for hours). So until I get to debugging this and ideally also test this in an automated fashion, I'll disable it for now since I'm not using Jingle sessions at the moment. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/psi: Update to latest upstream masteraszlig2020-02-104-50/+50
| | | | | | | | | | | Updating to latest master fixes one of the most annoying theming issue where the chat message input box text will turn black on dark background for my custom Qt theme. There are also quite a lot of fixes in master (which is still unreleased), which we want to have as well. Signed-off-by: aszlig <aszlig@nix.build>
* invisigun-heroes: Update to version 1.7.16aszlig2020-02-101-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lots of changes have been introduced in version 1.7.6, so here is a small summary: * New "The Hero's Journey" mode, which allows to discover the abilities of each hero along with challenges and puzzles. * Three new heroes: Djaan-Khe, Zephyr, Violet * Challenge mode has been removed (replaced by "The Hero's Journey"). * Guest Edition has been removed. The full changelog can be found here: http://www.sombr.com/pub/SIG/changelog/ While Invisigun Heroes in general went pretty smooth when it comes to packaging on our side, this time unfortunately we needed to patch something. There is now a new "config.json", which is written inside the game's data directory. Of course, since the data directory resides in the Nix store, I've relocated the file to be written into the the config directory ($XDG_CONFIG_HOME/unity3d/Sombr Studio/Invisigun Reloaded) of the game. Note that the config directory has also changed from "Invisigun Heroes" to "Invisigun Reloaded", so if you don't want to play the old version, you can delete the "Invisigun Heroes" directory. Signed-off-by: aszlig <aszlig@nix.build>
* monogame-patcher: Also patch late-bound methodsaszlig2020-02-101-1/+2
| | | | | | | | | | | | | | This is something I encountered in Invisigun Heroes, where there is a virtual FileManagerAdapter class, which then gets bound to either the Desktop variant or any of the other ones. Since we always use the full path of the corresponding type/object, just adding the Callvirt to the opcodes we patch shouldn't interfere with any other games we patch that way and using an extra subcommand just for the Callvirt case would only add additional boilerplate for no additional benefits. Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/profpatsch/execline/e: better promptProfpatsch2020-01-261-12/+14
| | | | | | rlwrap has to do magic recognition, which breaks in most cases. We can just print a prompt before the first and after each consecutive command. Seems to work wonderfully.
* pkgs/profpatsch/execline/e: add prompt colorProfpatsch2020-01-261-0/+2
|
* pkgs/profpatsch/execline/e: fix buffering problemProfpatsch2020-01-261-3/+0
| | | | Forgot the cat after I added forstdin.
* pkgs/profpatsch/execline/e: fix line splittingProfpatsch2020-01-261-6/+6
|
* pkgs/profpatsch/execline: add eProfpatsch2020-01-262-0/+25
|
* pkgs/profpatsch/execline: add runblockProfpatsch2020-01-262-0/+71
|
* pkgs/profpatsch/write-execline: add all argparsing commandsProfpatsch2020-01-261-2/+20
| | | | | | In some cases (especially with `runblock`), the arguments need to be accessible as environment variables, so we need a way to pass that to execline.
* machines/profpatsch/shiki: use dhall from binary releaseProfpatsch2020-01-261-11/+0
| | | | | | | | | The hackage (and thus nixpkgs) version is sadly very much outdated. Luckily, Justin Woo provides the statically linked binaries from the upstream project. This won’t work for patches or using the library, but at the moment it’s okay.
* pkgs/profpatsch/warpspeed: 1.0 -> 1.1Profpatsch2020-01-261-5/+31
| | | | | | - Add argument for which host to bind against. - Add argument to specify where the root address should be redirected to (if at all)
* escape: support pathsYorick2020-01-181-0/+1
| | | This makes ./foo work.
* pkgs/profpatsch/youtube2audiopodcast: fix a few thingsProfpatsch2019-12-271-4/+4
|
* pkgs/profpatsch/youtube2audiopodcast: use v4 localhost for tcpserverProfpatsch2019-12-271-1/+1
|
* pkgs/profpatsch/youtube2audiopodcast: use ::1 for tcpserverProfpatsch2019-12-271-1/+1
|
* pkgs/profpatsch/youtube2audiopodcast: serve rss feed & audio filesProfpatsch2019-12-272-29/+37
|
* pkgs/profpatsch/query-audio-streams: initProfpatsch2019-12-143-0/+94
|
* pkgs/profpatsch: move `writeHaskellInterpret` upwardsProfpatsch2019-12-142-12/+13
|
* pkgs/profpatsch/youtube2audiopodcast: youtube playlist to rssProfpatsch2019-12-092-4/+201
| | | | | Initial code that fetches a youtube playlist (from ID) and converts it to an rss feed.
* pkgs/profpatsch/youtube2audiopodcast: clean imports and use s6 catProfpatsch2019-12-091-2/+5
|
* pkgs/profpatsch/youtube2audiopodcast: factor out http servingProfpatsch2019-12-091-14/+22
|
* machines/profpatsch,pkgs/profpatsch: rm `execlineb-with-builtins`Profpatsch2019-12-082-33/+6
| | | | | | | This has been upstreamed to nixpkgs proper, as a C wrapper script, in https://github.com/NixOS/nixpkgs/pull/71357 So we don’t even need bash to run execline anymore :P
* pkgs/profpatsch: bump nixperimentsProfpatsch2019-12-081-2/+2
| | | | | It previously copied nixpkgs to the store, because a `toString` was missing.
* pkgs/profpatsch: fix stray `runCommandLocal`Profpatsch2019-12-081-1/+1
|
* treewide: use `runCommandLocal` where applicableProfpatsch2019-12-086-18/+10
| | | | | | | `runCommandLocal` was added to nixpkgs in https://github.com/NixOS/nixpkgs/pull/74642 to speed up trivial `runCommand` derivations by always building them locally. We have a few places where that’s good to use.
* pkgs/profpatsch: fixup missing sandbox argProfpatsch2019-12-081-1/+1
|
* pkgs/profpatsch/youtube2audiopodcast: use sandbox instead of tempdirProfpatsch2019-12-081-10/+10
| | | | | | If we sandbox each run of our youtube-dl script inside of the UCSPI TCP server, we get a temporary directory “for free”, plus guarantees that the files are cleaned up after the process exits.
* pkgs/profpatsch/execline: use -W instead of EXECLINE_STRICTProfpatsch2019-12-081-2/+1
| | | | | | EXECLINE_STRICT does not apply to the `execlineb` command itself, so we don’t get any errors if the nesting is incorrect. `-W` does set it for `execlineb` however.
* pkgs/profpatsch: add sandbox primitiveProfpatsch2019-12-082-9/+66
| | | | | | Small sandboxing utility, which unshares the filesystem via user-namespaces and can optionally bind-mount existing paths into the sandbox.
* pkgs/profpatsch/youtube2audiopodcast: serve arbitrary youtube videoProfpatsch2019-12-081-6/+18
|
* pkgs.profpatsch: expose youtube2audiopodcastProfpatsch2019-12-081-0/+3
|
* pkgs.profpatsch: init youtube2audiopodcastProfpatsch2019-12-082-0/+77
| | | | | Minimal PoC of a small application which can download and convert a youtube video with youtube-dl and then serve it via HTTP.
* pkgs/profpatsch/write-exeline: fix ./escape.nix importProfpatsch2019-11-021-1/+1
|