| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This makes it usable outside of the module; should be a pure refactor.
|
|
|
|
|
| |
I want to use the mkWrapper function outside of the vuizvui module,
and this error message would be confusing to have.
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|