about summary refs log tree commit diff
path: root/modules/core/lazy-packages.nix
Commit message (Collapse)AuthorAgeFilesLines
* modules/lazy-packages: factor wrapper to pkgs.vuizvui.lazy-packagesProfpatsch2021-11-121-43/+1
| | | | This makes it usable outside of the module; should be a pure refactor.
* modules/lazyPackages: factor out lorri-relevant error messageProfpatsch2021-11-121-6/+11
| | | | | I want to use the mkWrapper function outside of the vuizvui module, and this error message would be confusing to have.
* 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.
* core/lazy-packages: Silence stdout of nix-store -raszlig2017-12-081-1/+1
| | | | | | | | | | | | For example if you have something like cabal2nix as a lazy package, using "cabal2nix --shell . > default.nix" will result in the store path of cabal2nix being present in the resulting default.nix as the first line. We obviously do not want that, so let's redirect stdout of nix-store -r to /dev/null. Signed-off-by: aszlig <aszlig@nix.build>
* modules/core: Add a new module for lazy packagesaszlig2017-02-081-0/+67
This allows to add packages to vuizvui.lazyPackages which then aren't directly installed onto the system but instead built by the Hydra and only fetched from it as soon as a binary of one of these packages is executed. Doing this only within a NixOS module however isn't enough, because by default gc-keep-outputs is false, so a garbage collect on the Hydra instance would remove the packages we wrap in vuizvui.lazyPackages. Signed-off-by: aszlig <aszlig@redmoonstudios.org>