about summary refs log tree commit diff
path: root/machines/profpatsch/pkgs.nix
Commit message (Collapse)AuthorAgeFilesLines
* Rename vim_configurable to vim-fullaszlig2022-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "vim_configurable" derivation has had a long history in nixpkgs back then when there was no RFC process and where people still were figuring out better ways on how to configure compile-time flags. One of those was a composableDerivation function, which was used for "vim_configurable" and mapped attribute sets to autoconf-flags, so that for example if there was a "--enable-foo" flag you could just use something like: vim_configurable.merge { cfg.fooSupport = true; } You'd then get a Vim with "--enable-foo" passed to configureFlags. However, the composableDerivation feature was too complicated and was ultimately removed at some point. While it does allow for things such as introducing new "edf" (stands for Enable Disable Feature and maps the autoconf flags mentioned above to attribute sets) flags, the complexity that comes with that system is way too large than using something like eg.: vim-full.overrideAttrs (drv: { configureFlags = (drv.configureFlags or []) ++ [ "--enable-foo" ]; }) While this looks more verbose than the above, one can easily follow what's happening, whereas if you'd need to add and enable a new "edf" flag, you'd do something like this: vim_configurable.merge { flags = composableDerivation.edf { name = "foo"; }; cfg.fooSupport = true; } I admit that this does look a little nicer, but even I'm not sure whether it's worth adding so much complexity since in practice I rarely came across a sitation where something like the above would be really beneficial. So back then when "vim_configurable" was introduced[1], it was used as an alternative to the main vim derivation but using composableDerivation instead. Nowadays however, vim_configurable no longer uses composableDerivation and the rename also doesn't change any features, so I think it's safe to rename vim_configurable to vim-full in Vuizvui. [1]: https://github.com/NixOS/nixpkgs/commit/9a4e9e7a3b4014bb3c9f678ec22d254b85c4c98a [2]: https://github.com/NixOS/nixpkgs/commit/4e5ebcc3ed1de9c5c2001c7d5829f4566e0bde3f Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch Cc: @devhell
* machines/profpatsch: disable speechdSupport for mumbleProfpatsch2022-11-011-1/+4
|
* machines/profpatsch: disable zbar dbus supportProfpatsch2021-11-131-0/+5
|
* fix: unfreeAndNonDistributablePkgs is a package set not a fnProfpatsch2021-04-231-1/+1
|
* machines/profpatsch: use unfreeAndNonDistributablePkgs for convertProfpatsch2021-04-231-1/+3
|
* machines/shiki: add mumble with speex supportProfpatsch2021-02-041-0/+3
|
* profpatsch/pkgs: Switch to using wrapMpvaszlig2020-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Recently, the way to add scripts to the mpv wrapper has changed[1] and instead of using .override, there is now a dedicated wrapMpv function that can be used to compose the wrapped mpv derivation, similar on how it's done for wrapFirefox and wrapNeovim. The change also introduced the following evaluation error when using the old mpv-with-scripts package: Use wrapMpv for editing the environment of mpv Since this evaluation error essentially blocks Vuizvui channel generation, I decided to fix this, even though I usually try to avoid touching other people's machine configurations. [1]: https://github.com/NixOS/nixpkgs/commit/f93918bdc387d353285f458c06c6a111ae90b7b2 Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* machines/shiki: add zoomboxedProfpatsch2020-03-261-1/+14
| | | | Filesystem sandbox around zoom-us.
* machines/profpatsch/pkgs: clean upProfpatsch2020-02-161-73/+1
| | | | | | | | | | | Remove everything I haven’t been using: - nix with an override - some containerization attempt - taffybar with patches - git-annex with override - poezio - searx with patches - ghci with additional packages
* machines/profpatsch/pkgs: drop xmpp-client, unusedProfpatsch2020-02-161-3/+0
|
* machines/profpatsch/shiki: use dhall from binary releaseProfpatsch2020-01-261-9/+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.
* machines/profpatsch,pkgs/profpatsch: rm `execlineb-with-builtins`Profpatsch2019-12-081-11/+0
| | | | | | | 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
* treewide: use `runCommandLocal` where applicableProfpatsch2019-12-081-1/+1
| | | | | | | `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.
* machines/shiki: add dhall-flycheckProfpatsch2019-10-021-0/+9
|
* machines/katara: miscProfpatsch2019-03-251-3/+2
|
* machines/katara: fix execlineb wrapperProfpatsch2018-07-201-1/+1
|
* fix typoProfpatsch2018-07-201-1/+1
|
* machines/katara: add execlineb-with-builtinsProfpatsch2018-07-201-0/+10
|
* Fix mpv overrides with scripts attributeaszlig2018-07-191-1/+3
| | | | | | | | | Since NixOS/nixpkgs@402ee4e9eaf08a697672718cd502067c726a7c73, mpv by itself no longer has a script argument but there is now "mpv-with-scripts", which boils down to something similar. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch, @sternenseemann
* pkgs.profpatsch: add nix-genProfpatsch2018-06-251-11/+0
|
* machines/profpatsch/pkgs: nix with syntax fixProfpatsch2018-05-011-0/+9
|
* machines/katara: add user services for pyrnotifyProfpatsch2018-05-011-1/+19
|
* profpatsch/pkgs: disable searx and patchesProfpatsch2018-02-091-14/+24
|
* profpatsch/searx: Rebase searx-secret-key.patchaszlig2018-02-031-0/+5
| | | | | | | | | | | | | | | | | | | | Get rid of the annoying build error again (see 8be3704c3fbe08308132d92a6 for the last time), but this time for searx 0.13.1. The main thing that has changed is that instead of hmac.new() there is now a helper function called new_hmac(), which the patch now uses. I've also cleaned up some tiny bits reported by flake8 and fixed the description of SecretAppKeyError to refer to XDG_CACHE_HOME instead of XDG_CACHE_DIR. In addition to the updated patch, we now need to add XDG_CACHE_HOME to a writable directory (in this case $TMPDIR), because otherwise the test_webapp fails with an SecretAppKeyError, as it will try to create leading directories to XDG_CACHE_HOME. Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* machines/katara: remove sentProfpatsch2017-11-081-3/+1
| | | | Patch doesn’t apply, I don’t use it anymore.
* profpatsch/pkgs: Fix attribute for searxaszlig2017-08-011-1/+1
| | | | | | | | | | Since NixOS/nixpkgs@c217f48c358db05bd0ad7893e8e3ebabe4784cbe, the searx package is no longer in pythonPackages but a top-level attribute. Tested eval by "nix-instantiate machines -A profpatsch.haku.build". Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @Profpatsch
* machines/katara: maybe not nix-gen yetProfpatsch2017-04-271-10/+10
|
* machines/katara: add nix-gen and modified searxProfpatsch2017-04-261-14/+18
|
* machines/katara: correct searx overrideProfpatsch2017-03-031-7/+15
|
* machines/katara: add pretty-show to default ghcProfpatsch2017-02-231-1/+1
|
* machines/katara: searx anti-soundcloud patchProfpatsch2017-02-121-1/+4
| | | | | Soundcloud sometimes fails startup of searx, since it’s not actively used here it’s patched out until upstream resolves the issue.
* machines/katara: improve ghci in PATH with default packagesProfpatsch2017-02-101-1/+5
|
* machines/katara: enable searx w/ patchProfpatsch2017-02-101-1/+4
| | | | | This adds a patch making the secret key in the config file unnecessary. It’s not yet upstream because the implementation got flak, but it works for now.
* machines/katara: offlineimap -> mbsyncProfpatsch2016-11-291-3/+1
|
* Revert "runCommand -> runCommandCC"aszlig2016-10-171-5/+1
| | | | | | | | | | | | | This reverts commit e3f8d28d6be67257d70035d122263f3a35adc438 and my attempts to mitigate this in 0a50f5fab1abf2e70fd5d7a2dd717c2f2c1b983b and 3b91f25b37ea709f5c86e38a50061199bbed5341. Vuizvui is a repository for experimental stuff, but NOT a dumpster. So please refrain from pushing waste into this repository, like markers for a failed merge. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @Profpatsch
* runCommand -> runCommandCCProfpatsch2016-10-151-1/+5
|
* machines/katara: extract lib & add xmpp-clientProfpatsch2016-09-161-2/+3
| | | | | | | Some stuff is needed in multiple files, like the home directory. Extracted out into lib.nix. xmpp-client uses that to create a wrapper for splicing the password into the config at program invocation.
* katara: fast-init bump shaProfpatsch2016-08-291-1/+1
|
* machines/katara: add/rm packagesProfpatsch2016-08-291-7/+7
|
* machines/katara: add fast-initProfpatsch2016-08-291-1/+10
|
* machines/profpatsch: clean up folderProfpatsch2016-07-301-3/+3
|
* machines/profpatsch: mpv with script supportProfpatsch2016-07-041-1/+1
|
* machines/katara: vim -> vim_configurableProfpatsch2016-06-061-1/+3
|
* machines/katara: fix poezio (only on 3.4)Profpatsch2016-05-201-1/+3
|
* machines/katara: invert coloring of sentProfpatsch2016-05-031-1/+1
| | | | | Slides with white background are an insult to the viewers. Also adjusts some other sizing stuff.
* machines/katara: restructure pkgsProfpatsch2016-04-291-11/+30
|
* fix evaluation; mpv-scripts not in nixkgs yetProfpatsch2016-04-281-1/+2
|
* machines/katara: add/remove a few programsProfpatsch2016-04-281-0/+4
|
* machines/profpatsch: remove usb kernel patchProfpatsch2016-04-251-5/+0
| | | | Seems like it went upstream.
* machines/katara: kernel usb-failure patchProfpatsch2016-04-031-0/+6
| | | | | grabbed from https://www.spinics.net/lists/linux-usb/msg137228.html, because it could still take a while until it arrives in upstream.