about summary refs log tree commit diff
path: root/pkgs/sternenseemann/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/sternenseemann/nix-env-diff: utility for comparing nix-env evalssternenseemann2021-03-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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/sternenseemann: add update script for programs.sqlitesternenseemann2021-02-191-0/+5
| | | | | | | | | | | | This script downloads the latest nixos-unstable nixexprs.tar.xz, extracts programs.sqlite, figures out its hash and updates version and hash in the given release.nix. Accessible as pkgs.sternenseemann.vuizvui-update-programs-sqlite for a lack of a better place to put it. Maybe we should add something? build-support doesn't feel right. Future work: run this automatically once in a while via GitHub actions.
* pkgs/sternenseemann/temp: test using testRustSimplesternenseemann2021-02-141-1/+1
| | | | | This means we don't need the -common machinery anymore and can remove the -tests attribute altogether.
* pkgs/sternenseemann/temp: add tiny temporary file/dir cratesternenseemann2021-02-131-0/+11
| | | | | | | | | | | | | The crate implements a safe wrapper around mkdtemp(3) and mkstemp(3) which provide decent temporary file and directory creation. The key feature we provide is that we wrap the resulting path in a TempFile / TempDir struct. This allows us to implement the Drop trait such that the temporary directory / file is automatically deleted when the value goes out of scope in Rust which saves the programmer from cleaning up temporary artifacts themselves. The API is indeed very tiny currently, only implementing creation and AsRef<Path> which should allow all necessary path / file manipulation.
* pkgs/sternenseemann: unvendor fetchcvssternenseemann2021-02-111-5/+1
| | | | | | nixpkgs-unstable has advanced enough that the fetchcvs fix is now available via that channel, so our hydra won't choke on this derivation with the upstream fetchcvs.
* pkgs/sternenseemann/mandoc: initsternenseemann2021-02-091-0/+21
| | | | | | | | | | | | | Build mandoc from cvs and apply a patch which adds an exception for the checks does makewhatis(8): with this the realpaths of man pages to be indexed may be symlinks referring to files outside of the root man directory if they are located in /nix/store. This allows indexing /run/current-system/sw/share/man using mandoc's makewhatis(8). Since fetchcvs is currently broken in nixos-unstable we vendor in the fixed variant from nixpkgs master until the channel has advanced.
* pkgs/sternenseemann/lib: init with mapAttrsByAttrssternenseemann2021-02-071-0/+2
|
* pkgs/sternenseemann/scripts: initsternenseemann2021-02-061-2/+10
|
* pkgs/sternenseemann/texlive: initsternenseemann2021-02-061-0/+7
| | | | sterni's personal texlive.combine { ... }
* pkgs/sternenseemann/pass: initsternenseemann2021-02-061-1/+23
| | | | sterni's patched pass with passmenu
* pkgs/sternenseemann/unicode_clock: init at 0.1sternenseemann2021-02-061-0/+2
|
* pkgs/sternenseemann/shakti: init at 2021-01-29sternenseemann2021-02-061-0/+2
|
* pkgs/sternenseemann/t: init at unstable-2020-04-11sternenseemann2021-02-061-0/+3
|
* pkgs/sternenseemann/tep: initsternenseemann2021-02-061-2/+42
| | | | pkgs/sternenseemann/emoji-generic: init at unstable-2020-11-22
* pkgs/sternenseemann: remove spacecookiesternenseemann2020-04-301-2/+1
| | | | More up to date version is available via nixpkgs
* sternenseemann/logbook: Support newer Angstrongaszlig2018-03-011-2/+2
| | | | | | | | | | | | | | | | | Angstrong doesn't work anymore for OCaml versions lower that 4.03, so let's use version 4.04.2 and fix logbook to cope with the interface changes in Angstrong 0.7.0. I've opened a pull request (sternenseemann/logbook#1) to fix it upstream and also using the commit from the pull request here. This fixes the following evaluation error: in job 'channels.generic': angstrom is not available for OCaml 4.02.3 Signed-off-by: aszlig <aszlig@nix.build> Cc: @sternenseemann
* pkgs: Use callPackageScope wherever applicableaszlig2017-04-231-0/+6
This should remove a lot of clutter from pkgs/default.nix into corresponding sub-scopes, eg. pkgs/openlab/default.nix. Apart from restructuring there is no change of runtime functionality involved. Tested by evaluating with "nix-env -f pkgs -qaP". Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @Profpatsch, @sternenseemann