about summary refs log tree commit diff
path: root/pkgs
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/sternenseemann/pass: remove unused patch filesternenseemann2021-06-231-50/+0
|
* Revert "sternenseemann/pass: Revert changes for pass 1.7.4"sternenseemann2021-06-231-8/+3
| | | | | | | This reverts commit 8ee2e8ee99e566f007051b9d1b51f6a14eb7b5f0. pass 1.7.4 is in nixos-unstable now, so these changes are necessary to fix the build of pass.
* devhell/vim: Add colorizer plugindevhell2021-06-201-0/+1
| | | | This helps quite a lot when working with colors.
* sternenseemann/pass: Revert changes for pass 1.7.4aszlig2021-06-161-3/+8
| | | | | | | | | | | | | | | | | | This reverts commit 88f3e07f175c813cd33469e426f76d7815dd1389. Since https://github.com/NixOS/nixpkgs/pull/126616 still isn't merged and also not in the current NixOS unstable channel, we run into the following evaluation error: assertion '(dmenuSupport -> (((dmenu != null) && (xdotool != null)) && x11Support))' failed at: (17:1) in file: .../pkgs/tools/security/pass/default.nix I decided to re-revert this change, because the commit in question (which undid the revert) did not specify a good reason for doing so and right now the eval error breaks all machine channels on Hydra. Signed-off-by: aszlig <aszlig@nix.build> Cc: @sternenseemann
* treewide: Replace xvfb_run with xvfb-runaszlig2021-06-163-6/+6
| | | | | | | | | | | | Another alias that has been introduced not too long ago[1] and now more closely resembles the actual command name. Since NixOS VM tests no longer allow aliases, our sandbox tests did not evaluate anymore. While at it, I also renamed all the other uses of the alias. [1]: https://github.com/NixOS/nixpkgs/commit/726306003af21ade95b1908d1920ce9a0f9815bb Signed-off-by: aszlig <aszlig@nix.build>
* treewide: Replace pkgconfig with pkg-configaszlig2021-06-168-16/+16
| | | | | | | | | | | | | | This is another alias which got introduced in 2018, because the actual command is "pkg-config" and so the package name containing a dash is more reasonable. The reason why I'm doing this is because NixOS VM tests now disallow aliases and while the evaluation error in question only affected the "gnupg" test, I decided to change all occurences in the event that we might want to disallow aliases for things other than VM tests. Signed-off-by: aszlig <aszlig@nix.build> Cc: @sternenseemann for "opam-env"
* pkgs/profpatsch: Replace s6PortableUtils aliasaszlig2021-06-161-2/+2
| | | | | | | | | | | | | | | | | | Similar to 4701a995cb865c5d7178f574a3eae5872595e768, where I replaced the libtidy alias for html-tidy because it broke evaluation of the PSI test, I found another test for nman which uses an alias. The background is that aliases are now[1] no longer allowed in NixOS VM tests and since "s6PortableUtils" is indirectly referenced, we get an evaluation error on Hydra. Using the unaliased name fixes evaluation and should not change anything in functionality. [1]: https://github.com/NixOS/nixpkgs/commit/3edde6562e19698da69a499881e0a2e4f5a497a2 Signed-off-by: aszlig <aszlig@nix.build> Cc: @Profpatsch
* psi: Update to latest upstream masteraszlig2021-06-151-8/+8
| | | | | | | | | | | | This is mainly to incorporate my latest fix[1] for OMEMO, so in theory updating the plugins would have been sufficient. However, since I like to eat the freshest set of new bugs, I also updated everything else except the theme. The latter seems to be a bit more complicated, since it changed the way they're building it so I skipped that for now. [1]: https://github.com/psi-im/plugins/pull/91 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/psi: Replaced aliased use of html-tidyaszlig2021-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | A recent change[1] disabled aliases by default in VM tests and since libtidy actually has been an alias of html-tidy since 2014 it's a good idea to use the actual non-aliased packaged. Since I added my PSI build in 2019, I probably didn't check for whether the package name in nixpkgs would be different while packaging and only used the name as reported by CMake, thinking it would work (which it did). Disallowing aliases in VM tests however is a good change, so let's use the real package name. This should fix the evaluation of the Hydra jobset. [1]: https://github.com/NixOS/nixpkgs/commit/3edde6562e19698da69a499881e0a2e4f5a497a2 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/profpatsch/dhall-flycheck: remove due to eval errorsternenseemann2021-06-131-7/+9
| | | | | | | | | Since this package is introduced via an overlay expression pulled in via IFD, I can't really fix it. Since dhall-flycheck has already been removed from all machines it was a part of, just remove it completely to migitate this issue. cc @Profpatsch
* Revert "Revert "pkgs/sternenseemann/pass: adjust for pass 1.7.4""sternenseemann2021-06-131-8/+3
| | | | This reverts commit c11bd9ec702c71e731cb14c26ff235ea1956a613.
* Revert "pkgs/sternenseemann/pass: adjust for pass 1.7.4"sternenseemann2021-06-131-3/+8
| | | | | | This reverts commit 1987f2d9a4b185dfa319763a67d527fd7ade4d83. This is not even merged into master yet, pushed by mistake.
* pkgs/sternenseemann/pass: adjust for pass 1.7.4sternenseemann2021-06-131-8/+3
|
* pkgs/sternenseemann/saneterm: update to 0288f74sternenseemann2021-06-131-2/+2
|
* pkgs/sternenseemann/mandoc: use builtins.storeDirsternenseemann2021-06-131-1/+1
|
* pkgs/sternenseemann/saneterm: needs python >= 3.9sternenseemann2021-06-131-1/+1
|
* pkgs/profpatsch/backup: more backup stuffProfpatsch2021-06-071-8/+16
|
* pkgs/profpatsch/xrandr: exit(1) on errorProfpatsch2021-06-071-0/+1
|
* pkgs/profpatsch/xdg-open: display short message on xdg-openProfpatsch2021-06-071-1/+3
|
* pkgs/profpatsch/xdg-open: fix text/html oversightProfpatsch2021-06-071-1/+1
|
* pkgs/sternenseemann/saneterm: update to 154481sternenseemann2021-06-021-2/+2
|
* machines/sternenseemann/wolfgang: install sanetermsternenseemann2021-05-312-0/+46
|
* pkgs/profpatsch: init text-letterProfpatsch2021-05-183-0/+158
| | | | A simple text letter formatter (A4) for printing.
* pkgs/profpatsch/xdg-open: Remove UriGlobHandlerProfpatsch2021-05-133-42/+12
| | | | | | The concept of a transparent handler wasn’t actually used anywhere and now that we want to generate the firefox json as well, it just hinders us from doing that in an easy way.
* pkgs/profpatsch/importDhall: allow referencing files in the typeProfpatsch2021-05-131-1/+4
| | | | | | The type string would blow up too much if you can’t reference any dhall file in the sources list. This all feels a bit hacky, but at least semantically it seems to work out?
* pkgs/profpatsch/xdg-open: directly pass MimeMatch to xdg-open scriptProfpatsch2021-05-123-19/+29
| | | | | | | No use in passing through the mime type now that we can just directly render the commands in the protocol handlers. This gives us the base for generating the Firefox handlers.json.
* pkgs/profpatsch/xdg-open: use the new matcher listProfpatsch2021-05-124-79/+10
| | | | Removes the duplication of command handlers.
* pkgs/profpatsch/xdg-open: prepare for adding firefox handler supportProfpatsch2021-05-124-218/+374
| | | | | | | | | This diff is a bit bad cause of whitespace changes, but effectively this copies all handlers into the mime handler definitions and duplicates them for now. We want to use the same config to generate a firefox mime handler file.
* pkgs/profpatsch/xdg-open: add lagrange as gemini & gopher handlerProfpatsch2021-05-081-0/+12
|
* pkgs/profpatsch/write-rust: alwyas run tests by defaultProfpatsch2021-04-236-22/+27
| | | | | | testRustSimple wouldn’t work with all the rust functions, so let’s just use it internally and expose the tests via the conventional `doCheck` attribute instead.
* pkgs/profpatsch: add xrandr two monitor setupProfpatsch2021-04-232-0/+205
| | | | Just to prove I can.
* pkgs/profpatsch/write-rust: fix ln invocationsternenseemann2021-04-201-1/+1
| | | | | | | | The -T flag is GNU coreutils specific, for s6-ln and POSIX ln, the equivalent seems to be -L which mandates behavior like linkat(3) with the AT_SYMLINK_FOLLOW flag. cc @Profpatsch
* devhell/vim: Add packages, remove textwidthdevhell2021-04-151-1/+2
| | | | | | The textwidth limit is getting annoying on certain files, and while I'm sure there's an elegant 'vim-way' of doing this without plugins, I'm just gonna go ahead and see if `vim-sleuth` does the trick.
* factorio: Fix patcher to work with Radare2 5.xaszlig2021-04-141-2/+10
| | | | | | | | | | | | | | | Version 5.0.0 of Radare2 introduced a few changes in symbol naming, which causes our patcher to fail because it's unable to find the "/usr/share/factorio" string and the getSystemWriteData() method. The upstream change[1] in question for example now uses underscores for certain characters in the symbol/comment name, so for us to be backwards-compatible I added a check against the major version of Radare2 to determine whether we should add underscores when needed. [1]: https://github.com/radareorg/radare2/commit/aaa930ab261a31e58b1257df06db02481cd3bd55 Signed-off-by: aszlig <aszlig@nix.build>
* pkgs/sternenseemann: add release tarball toolingsternenseemann2021-04-133-0/+104
| | | | | | | | | | | | | | The following nix functions allow easily creating derivations for building a signed releases directory for project(s) to be served via e. g. HTTP. * buildGitTarball: builds a reproducible .tar.gz for a given git revision or tag (similar to git archive, but we don't actually reuse it in favor of fetchgit). * bundleSignedReleases: symlinks tarballs generated using buildGitTarball and accompanying (manually provided) signatures into a directory and verifies the signatures to ensure buildGitTarball is donig what it's supposed to.
* pkgs/sternenseemann: add schmecgit, a cgit about / source filtersternenseemann2021-04-133-0/+146
| | | | | | | | | Only does very simple dispatching to pkgs.lowdown and pkgs.chroma, but is at least significantly faster than the default source and about filters bundled with cgit (which is not really a challenge as they use python and pygments). Added to enable my cgit setup until we can have TVL's //tools/cheddar.
* pkgs/sternenseemann/shakti: fix hashsternenseemann2021-04-131-4/+5
| | | | Ugh.
* pkgs/sternenseemann: restructure default.nixsternenseemann2021-04-131-34/+37
| | | | Group somewhat semantically instead of ordering alphabetically.
* pkgs/sternenseemann/tep: add static list of additional charssternenseemann2021-04-131-2/+8
| | | | | This is currently mostly to add the dot character used as separator in dot time (<https://dotti.me>).
* pkgs/sternenseemann/patches: prevent possible buffer overrunsternenseemann2021-04-101-12/+21
|
* pkgs/sternenseemann/mandoc: use new READ_ALLOWED_PATH approachsternenseemann2021-04-102-64/+82
| | | | | This patch version implements Ingo's suggestion of READ_ALLOWED_PATH: https://inbox.vuxu.org/mandoc-tech/20210331173434.GA57338@athene.usta.de/
* pkgs/sternenseemann/tep: fix attribute pathsternenseemann2021-04-031-1/+1
|
* pkgs/profpatsch/el-semicolon: build and run tests using testRustSimplesternenseemann2021-03-312-12/+7
|
* pkgs/profpatsch: remove nix-genProfpatsch2021-03-312-25/+2
| | | | It was unused and required a broken hnix pin.
* pkgs/sternenseemann/emoji-generic: unbreaksternenseemann2021-03-262-9/+4
| | | | | Once again PVP causes a configure failure which doesn't translate into a build failure. Fixed by bumping upstream repository.
* pkgs/profpatsch/write-rust: use s6-portable-utilsProfpatsch2021-03-261-4/+4
| | | | | | | | | | | | | | | We had a bunch of instances of https://github.com/NixOS/nix/issues/2176, where nix would exit with a “killed by signal 9” error. According to Eelco in that issue, this is perfectly normal behaviour of course, and appears if the last command in a loop closes `stdout` or `stdin`, then the builder will SIGKILL it immediately. This is of course also a perfectly fine error message for that case. It turns out that mainly GNU coreutils exhibit this behaviour … Let’s see if using a more sane tool suite fixes that.
* fix(profpatsch/write-rust): fail on rust test failuresternenseemann2021-03-251-1/+1
| | | | | | | | | | Port of <https://cl.tvl.fyi/c/depot/+/2657>. Original message: `forstdin` iterates over the tests in the test directory, and by default it does *not* fail if an inner loop returns an error, unless `-o okcodes` is given, a list of exit codes that indicate success. Now it fails if a loop returns ≠ 0.
* pkgs/sternenseemann/nix-env-diff: I am stupidsternenseemann2021-03-181-1/+1
| | | | https://youtu.be/LB8bhHyPLgk?t=418
* pkgs/sternenseemann/nix-env-diff: utility for comparing nix-env evalssternenseemann2021-03-183-0/+173
| | | | | | | | | | | | | | | | | | | | | | | | nix-env-diff is a tiny utility which parses and compares the output of `nix-env -qaP --out-path`, printing all changed and added out paths (or attributes if desired). This facilitates a simple way to determine rebuilds or changed reverse dependencies when working on nixpkgs in a similar way as nixpkgs-review and ofborg do it. Both the new evaluation and the base evaluation to compare against have to be created manually using nix-env, which in turn also allows considering attribute sets that are normally not evaluated do to missing `lib.recurseIntoAttrs`. As an example, here is an example building all changed attributes in `ocaml-ng.ocamlPackages_4_12`: ``` nix-env -qaP -A ocaml-ng.ocamlPackages_4_12 --out-path -f . \ | nix-env-diff --attrs ./base-ocamlPackages_4_12 \ | xargs -n 1 -P 4 nix-instantiate --quiet -A \ | xargs nix-store --realise --builders 'ssh://edwin' ``` `./base-ocamlPackages_4_12` contains the result of the `nix-env` invocation executed on the master branch.
* pkgs/profpatsch/deploy: change gcroot locationProfpatsch2021-03-061-1/+1
|